diff --git a/frontend/src/views/panel/LinkJumpSet/index.vue b/frontend/src/views/panel/LinkJumpSet/index.vue index 565d3613a9..ce6a123371 100644 --- a/frontend/src/views/panel/LinkJumpSet/index.vue +++ b/frontend/src/views/panel/LinkJumpSet/index.vue @@ -347,6 +347,9 @@ export default { targetViewInfo.targetFieldId = null }, sourceFieldCheckedChange(data) { + if (data.checked) { + this.linkJump.checked = true + } this.$nextTick(() => { this.$refs.linkJumpInfoTree.setCurrentKey(data.sourceFieldId) this.nodeClick(data) diff --git a/frontend/src/views/panel/OuterParamsSet/index.vue b/frontend/src/views/panel/OuterParamsSet/index.vue index 7212e40826..7906349cbd 100644 --- a/frontend/src/views/panel/OuterParamsSet/index.vue +++ b/frontend/src/views/panel/OuterParamsSet/index.vue @@ -204,7 +204,7 @@ export default { currentFiledTreeNode: null, defaultOuterParamsInfo: { paramName: '', - checked: false, + checked: true, targetViewInfoList: [] }, defaultTargetViewInfo: { @@ -322,12 +322,16 @@ export default { targetViewInfo.targetFieldId = null }, sourceFieldCheckedChange(data) { + if (data.checked) { + this.outerParams.checked = true + } this.$nextTick(() => { this.$refs.outerParamsInfoTree.setCurrentKey(data.paramsInfoId) this.nodeClick(data) }) }, addOuterParamsInfo() { + this.outerParams.checked = true const outerParamsInfo = deepCopy(this.defaultOuterParamsInfo) outerParamsInfo['paramsInfoId'] = uuid.v1() this.outerParamsInfoArray.push(outerParamsInfo)