唐耀东
2022-05-23 e28e9395819fd992bc3e168b6ff89fb6f538f1bc
src/views/components/nvr/index.vue
@@ -45,6 +45,17 @@
      name: ''
    }
  },
  watch: {
    'value': function (v) {
      if (v) {
        getNvr(v).then(response => {
          this.name = response.data.deploymentName;
        });
      }else {
        this.name = '';
      }
    }
  },
  created() {
    if (this.value) {
      getNvr(this.value).then(response => {