mirror of
https://github.com/dataease/dataease.git
synced 2026-05-14 21:12:33 +08:00
fix(图表): 修复富文本条件样式没有实时刷新问题
This commit is contained in:
@@ -461,7 +461,11 @@ init()
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="2" v-if="isNotEmptyAndNull(item)" style="padding-left: 0 !important">
|
||||
<el-col
|
||||
:span="2"
|
||||
v-if="isNotEmptyAndNull(item) && chart.type !== 'rich-text'"
|
||||
style="padding-left: 0 !important"
|
||||
>
|
||||
<el-form-item class="form-item">
|
||||
<el-select
|
||||
v-model="item.type"
|
||||
|
||||
@@ -1177,7 +1177,7 @@ const onThresholdChange = val => {
|
||||
}
|
||||
return false
|
||||
})
|
||||
if (type) {
|
||||
if (type || view.value.type === 'rich-text') {
|
||||
calcData(view.value)
|
||||
} else {
|
||||
renderChart(view.value)
|
||||
|
||||
Reference in New Issue
Block a user