liuchengxin
2022-05-23 1c01e669cca92f94eea5d1a73ff60f3bd34b9079
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 => {