Merge pull request #1086 from dataease/pr@dev@refactor_panel_edit

fix:修改跳转设置可能保存不上的问题
This commit is contained in:
王嘉豪 2021-11-01 12:13:50 +08:00 committed by GitHub
commit 3dc4345b72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@
<span @click.stop>
<div>
<span class="auth-span">
<el-checkbox v-model="data.checked" />
<el-checkbox v-model="data.checked" @change="sourceFieldCheckedChange(data)"/>
</span>
</div>
</span>
@ -323,6 +323,12 @@ export default {
},
viewInfoOnChange(targetViewInfo) {
targetViewInfo.targetFieldId = null
},
sourceFieldCheckedChange(data) {
this.$nextTick(() => {
this.$refs.linkJumpInfoTree.setCurrentKey(data.sourceFieldId)
this.nodeClick(data)
})
}
}
}
@ -452,4 +458,7 @@ export default {
line-height:28px
}
/deep/ .el-tree--highlight-current .el-tree-node.is-current >.el-tree-node__content {
background-color: #8dbbef !important;
}
</style>