浏览代码

'立面图初始化数据'

zhangyu 5 年之前
父节点
当前提交
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: {
   methods: {
     init () { //获取数据并格式化数据
     init () { //获取数据并格式化数据
+      this.elevationData = [];
       //根据isAI判断请求参数是否包含AI推介数据(暂未完成)
       //根据isAI判断请求参数是否包含AI推介数据(暂未完成)
       this.params.AiSwitch = this.isAI
       this.params.AiSwitch = this.isAI
       console.log(this.params)
       console.log(this.params)
@@ -163,7 +164,7 @@
     //   }
     //   }
     // },
     // },
     params: {
     params: {
-      handler(val,ccc) {
+      handler() {
         if (this.params.BuildingId && this.params.ObjectType && this.params.ShaftId) {
         if (this.params.BuildingId && this.params.ObjectType && this.params.ShaftId) {
           this.init();
           this.init();
         }
         }