Commit 010dd40e by zhangquan

修改仪表盘配置

1 parent 04e36e36
......@@ -99,7 +99,7 @@ export default {
},
detail: {
show: true,
offsetCenter: [0, 60],
offsetCenter: [0, 80],
fontSize: 12,
formatter: function(val) {
let value = ''
......@@ -125,7 +125,7 @@ export default {
if (!storedList.length) {
return `无警情\n{b|${value}}`;
} else {
return `{a|${storedList[0].alarmLevel / 1}级}\n警情\n{b|${value}}`;
return `${storedList[0].alarmLevel}级警情\n{b|${value}}`;
}
},
rich: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!