perf: modulebox-walk-tree提示信息交互优化
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
check-strictly
|
||||
show-checkbox
|
||||
@check="change"
|
||||
@node-click="hideDetail"
|
||||
:default-checked-keys="currentWalk"
|
||||
>
|
||||
<div slot-scope="{node, data}" class="walk-tree-item" :class="getClass(data.objectID)">
|
||||
@@ -93,11 +94,13 @@
|
||||
},
|
||||
change(data, tree) {
|
||||
this.$emit("selectWalk", data.objectID);
|
||||
this.tempWalk.detailShow = false
|
||||
},
|
||||
show() {
|
||||
this.popBox.show = true;
|
||||
},
|
||||
hideDetail() {
|
||||
this.tempWalk.detailShow = false;
|
||||
},
|
||||
showDetail(data, e) {
|
||||
if (this.tempWalk.objectID != data.objectID) {
|
||||
this.tempWalk.detailShow = false;
|
||||
|
||||
Reference in New Issue
Block a user