|
|
|
@ -179,10 +179,8 @@ export default {
|
|
|
|
|
// 标题发生变化时需要及时更新表达式中的数据集库的字段名
|
|
|
|
|
'config.title': {
|
|
|
|
|
handler (val, oldVal) {
|
|
|
|
|
if (val) {
|
|
|
|
|
this.updateDataset({ code: this.config.code, title: val, data: [], oldTitle: oldVal })
|
|
|
|
|
this.updateComputedDatas({ code: this.config.code, title: val, data: [], oldTitle: oldVal })
|
|
|
|
|
}
|
|
|
|
|
this.updateDataset({ code: this.config.code, title: val, data: [], oldTitle: oldVal, isChangeTitle: true })
|
|
|
|
|
this.updateComputedDatas({ code: this.config.code, title: val, data: [], oldTitle: oldVal, isChangeTitle: true })
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|