Browse Source

!1100 Solve the problem of abnormal display of selected node tree

From: @feng_xue_feng
Reviewed-by: @wangyue01,@lilongfei15
Signed-off-by: @lilongfei15
tags/v1.2.0-rc1
mindspore-ci-bot Gitee 4 years ago
parent
commit
a26ea8035a
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      mindinsight/ui/src/mixins/debugger-mixin.vue

+ 5
- 0
mindinsight/ui/src/mixins/debugger-mixin.vue View File

@@ -1317,6 +1317,11 @@ export default {
val.indeterminate = true;
node.indeterminate = true;
}
if (val.data.watched === this.checkboxStatus.checked) {
val.checked = true;
} else if (val.data.watched === this.checkboxStatus.unchecked) {
val.checked = false;
}
});
[...new Set(curHalfCheckedKeys.concat(this.$refs.tree.getHalfCheckedKeys()))].forEach((val) => {
this.$refs.tree.getNode(val).indeterminate = true;


Loading…
Cancel
Save