唐耀东
2022-05-18 7ca1a8ec18fccca9102cd1179e05fdc877bdc511
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 => {