From f187ab33d2cc2b987c608ba80ebf172f2f8d01ed Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期一, 04 九月 2023 10:49:18 +0800 Subject: [PATCH] 修改bug --- Source/UBCS-WEB/src/components/refer/vciWebRefer.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue b/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue index a253841..19f4edc 100644 --- a/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue +++ b/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue @@ -1,6 +1,6 @@ <template> <div v-if="display"> - <vciWebReferTree v-if="refertype=='tree'" @setValue="setValue" :value="value" :text="text" :title="title" :disabled="disabled" :referConfig="referConfig"></vciWebReferTree> + <vciWebReferTree ref="vciWebReferTree" v-if="refertype=='tree'" @setValue="setValue" :value="value" :text="text" :title="title" :disabled="disabled" :referConfig="referConfig"></vciWebReferTree> <vciWebReferTable v-else-if="refertype=='table'" @setValue="setValue" :value="value" :text="text" :title="title" :disabled="disabled" :referConfig="referConfig"></vciWebReferTable> <vciWebReferDefalut v-else @setValue="setValue" :value="value" :text="text" :title="title" :disabled="disabled" :referConfig="referConfig"></vciWebReferDefalut> @@ -48,6 +48,8 @@ deep: true, immediate: true, handler(newV) { + this.text=newV.text; + this.value=newV.value; this.$emit("setReferValue", newV); } } -- Gitblit v1.9.3