ludc
2023-08-24 f7bb4db21c6b7316c92a0b6fdda1c92ec36202d0
Source/UBCS-WEB/src/components/refer/vciWebRefer.vue
@@ -19,10 +19,18 @@
    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() {
    var title = this.referConfig.title || '';
    title = title.replace(":", "");
@@ -40,8 +48,10 @@
      deep: true,
      immediate: true,
      handler(newV) {
        this.text=newV.text;
        this.value=newV.value;
        this.$emit("setReferValue", newV);
      },
      }
    }
  }
}