Auto Commit

上级 e37e83fc
......@@ -121,9 +121,16 @@ function initFirstData() {
},
tooltip: {
formatter: function (params) {
const findItem = state.dataSource.find(item => {
let findItem = state.dataSource.find(item => {
return item.postTime == params.name
})
if(!findItem){
findItem={
title:'',
message:'',
url:''
}
}
return `<span style='color:blue'>-<span> 博客标题:${findItem.title} <br>
<span style='color:green'>-<span> 博客质量:${params.value} <br>
<span style='color:red'>-<span> 博客建议:${findItem.message}<br>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册