微调
This commit is contained in:
@@ -265,7 +265,7 @@ export default {
|
||||
data: {}
|
||||
};
|
||||
}
|
||||
this.currentNode = newNodeData;
|
||||
this.currentNode = newNodeData;
|
||||
this.$forceUpdate();
|
||||
this.$nextTick(() => {
|
||||
this.$refs.tree.setCurrentKey(id);
|
||||
@@ -387,7 +387,7 @@ export default {
|
||||
);
|
||||
this.addForm = {};
|
||||
// console.log(this.$refs.tree.handleClickNodes(), "当前选中节点");
|
||||
console.log(node, data, "当前选中节点");
|
||||
console.log(node, data, "当前选中节点-----------");
|
||||
this.currentNode = node;
|
||||
this.isFresh = false;
|
||||
this.isFresh = true;
|
||||
@@ -436,6 +436,7 @@ export default {
|
||||
children: [],
|
||||
delFlag: 0,
|
||||
isLast: 0,
|
||||
content:'',
|
||||
pid: 0,
|
||||
sort: 0,
|
||||
title: ""
|
||||
|
||||
Reference in New Issue
Block a user