mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 20:20:04 +08:00
feat: 指标卡阈值设置
This commit is contained in:
parent
df9a31bd78
commit
c4b5da2347
@ -174,7 +174,7 @@ export default {
|
||||
colorThreshold(valueColor) {
|
||||
if (this.chart.senior) {
|
||||
const senior = JSON.parse(this.chart.senior)
|
||||
if (senior.threshold.labelThreshold && senior.threshold.labelThreshold.length > 0) {
|
||||
if (senior.threshold && senior.threshold.labelThreshold && senior.threshold.labelThreshold.length > 0) {
|
||||
const value = this.chart.data.series[0].data[0]
|
||||
for (let i = 0; i < senior.threshold.labelThreshold.length; i++) {
|
||||
let flag = false
|
||||
|
Loading…
Reference in New Issue
Block a user