From 94619d90359419a070f80f65c2f0163382b67fc1 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期四, 24 八月 2023 15:07:37 +0800 Subject: [PATCH] 接口配置页面 --- Source/UBCS-WEB/src/components/refer/vciWebRefer.vue | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue b/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue index 0324f5c..a421c47 100644 --- a/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue +++ b/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue @@ -19,12 +19,19 @@ return { refertype: this.referConfig.options.type, emitData:{}, - title:'' + title:'', + display:this.display || true, + disabled:this.disabled || false }; }, - created() {}, + created() { + if (!this.referConfig.options) { + this.referConfig.options = { + isMuti: false + } + } + }, mounted() { - console.log(this.referConfig.options); var title = this.referConfig.title || ''; title = title.replace(":", ""); title = title ? ('涓恒��' + title + '銆戦�夊彇鍊�') : ('涓恒��' + this.referConfig.showField + '銆戦�夊彇鍊�'); @@ -41,8 +48,10 @@ deep: true, immediate: true, handler(newV) { + this.text=newV.text; + this.value=newV.value; this.$emit("setReferValue", newV); - }, + } } } } -- Gitblit v1.9.3