Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -175,7 +175,7 @@
|
|||||||
|
|
||||||
if (node.level >= 1) {
|
if (node.level >= 1) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.getChildByList(node.data.level,node.data.vppsCode, resolve);
|
this.getChildByList(node.data.level,node.data.id, resolve);
|
||||||
}, 500);
|
}, 500);
|
||||||
return resolve([]); // 加上这个,防止在该节点没有子节点时一直转圈的问题发生。
|
return resolve([]); // 加上这个,防止在该节点没有子节点时一直转圈的问题发生。
|
||||||
}
|
}
|
||||||
@@ -192,8 +192,8 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getChildByList( level,vppsCode,resolve) { // 获取子节点请求
|
getChildByList( level,id,resolve) { // 获取子节点请求
|
||||||
let params = {level : level,vppsCode :vppsCode,type : this.type};
|
let params = {level : level,id :id,type : this.type};
|
||||||
this.$http.get(this.urlChild, params, {
|
this.$http.get(this.urlChild, params, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
|||||||
Reference in New Issue
Block a user