From e3a5616fbdf947943b8750975d20c46b091be943 Mon Sep 17 00:00:00 2001 From: "zhaokaiyao@91isoft.com" <6922339zky> Date: Wed, 1 Dec 2021 19:01:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=9D=97=E7=BB=93=E6=9E=84=E5=8D=95?= =?UTF-8?q?=E5=85=83=E6=AD=BB=E5=BE=AA=E7=8E=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/treeSelect/treeSelectModule.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/treeSelect/treeSelectModule.vue b/src/components/treeSelect/treeSelectModule.vue index 4f5a0142d..30e0c8a03 100644 --- a/src/components/treeSelect/treeSelectModule.vue +++ b/src/components/treeSelect/treeSelectModule.vue @@ -177,7 +177,7 @@ if (node.level >= 1) { setTimeout(() => { - this.getChildByList(node.data.level,node.data.id, resolve); + this.getChildByList(node.data.level,node.data.id,node.data.model, resolve); }, 500); return resolve([]); // 加上这个,防止在该节点没有子节点时一直转圈的问题发生。 } @@ -194,8 +194,8 @@ } }) }, - getChildByList( level,id,resolve) { // 获取子节点请求 - let params = {level : level,id :id,type : this.type}; + getChildByList( level,id,model,resolve) { // 获取子节点请求 + let params = {level : level,id :id,type : this.type,model :model}; this.$http.get(this.urlChild, params, { _this: this }, res => {