From 96a6f91ff223aaa20e2be4273fa89d642b480fb3 Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期四, 24 八月 2023 18:29:02 +0800
Subject: [PATCH] Revert "提交代码"
---
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