Browse Source

'立面图初始化数据'

zhangyu 5 years ago
parent
commit
9b561ed97e
1 changed files with 2 additions and 1 deletions
  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();
         }