liuchengxin
2022-06-06 4001279159dd37942b3cf4c83ab537f95832a82d
src/views/components/manufacturer/index.vue
@@ -40,6 +40,17 @@
      name: ''
    }
  },
  watch: {
    'value': function (v) {
      if (v) {
        getManufacturer(v).then(response => {
          this.name = response.data.name;
        });
      }else {
        this.name = '';
      }
    }
  },
  created() {
    if (this.value) {
      getManufacturer(this.value).then(response => {