Merge pull request #5820 from dataease/pr@dev@refactor_panel-save-button

refactor(仪表板): 优化仪表板编辑时画布变动监控范围,防止部分变动保存按钮依然是不可用状态
This commit is contained in:
王嘉豪
2023-08-01 16:53:59 +08:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -564,6 +564,7 @@ export default {
this.close()
},
saveLinkage() {
this.$store.commit('canvasChange')
// 字段检查
for (const key in this.targetLinkageInfo) {
let subCheckCount = 0

View File

@@ -550,6 +550,7 @@ export default {
this.$emit('closeJumpSetDialog')
},
save() {
this.$store.commit('canvasChange')
this.codemirrorShow = false
this.linkJumpInfoArray.forEach(jumpInfo => {
jumpInfo.content = this.setNameIdTrans('sourceFieldName', 'sourceFieldId', jumpInfo.content)