唐耀东
2022-10-12 901be26b0491501afe8eb145392a8d8c307f0138
src/views/components/organization/index.vue
@@ -44,6 +44,17 @@
      name: ''
    }
  },
  watch: {
    'value': function (v) {
      if (v) {
        getOrganization(v).then(response => {
          this.name = response.data.name;
        });
      }else {
        this.name = '';
      }
    }
  },
  created() {
    if (this.value) {
      getOrganization(this.value).then(response => {
@@ -73,4 +84,4 @@
<style scoped>
</style>
</style>