mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 03:52:59 +08:00
feat(视图): 表格支持阈值设置
This commit is contained in:
parent
772af522a4
commit
133d23d70c
@ -455,10 +455,10 @@ function getConditions(chart) {
|
||||
let conditions
|
||||
try {
|
||||
const senior = JSON.parse(chart.senior)
|
||||
conditions = senior.threshold.tableThreshold
|
||||
conditions = senior.threshold ? senior.threshold.tableThreshold : null
|
||||
} catch (err) {
|
||||
const senior = JSON.parse(JSON.stringify(chart.senior))
|
||||
conditions = senior.threshold.tableThreshold
|
||||
conditions = senior.threshold ? senior.threshold.tableThreshold : null
|
||||
}
|
||||
|
||||
if (conditions && conditions.length > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user