zhangyu 5 лет назад
Родитель
Сommit
9b561ed97e
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/components/ledger/cenote/elevationMap.vue

+ 2 - 1
src/components/ledger/cenote/elevationMap.vue

@@ -58,6 +58,7 @@
   },
   methods: {
     init () { //获取数据并格式化数据
+      this.elevationData = [];
       //根据isAI判断请求参数是否包含AI推介数据(暂未完成)
       this.params.AiSwitch = this.isAI
       console.log(this.params)
@@ -163,7 +164,7 @@
     //   }
     // },
     params: {
-      handler(val,ccc) {
+      handler() {
         if (this.params.BuildingId && this.params.ObjectType && this.params.ShaftId) {
           this.init();
         }