From cf5ab6da9ff676fab8a10d4299bd5a04a07bf50f Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期一, 17 五月 2021 10:05:53 +0800
Subject: [PATCH] 修复默认选中图层时出现的BUG

---
 src/components/BaseNav/WasteSolid/WasteSolidIndex.vue |   23 +++--------------------
 1 files changed, 3 insertions(+), 20 deletions(-)

diff --git a/src/components/BaseNav/WasteSolid/WasteSolidIndex.vue b/src/components/BaseNav/WasteSolid/WasteSolidIndex.vue
index 89c6c51..86befe3 100644
--- a/src/components/BaseNav/WasteSolid/WasteSolidIndex.vue
+++ b/src/components/BaseNav/WasteSolid/WasteSolidIndex.vue
@@ -3,7 +3,7 @@
     <template v-slot:tabs>
       <public-tabs ref='refsTabsData'></public-tabs>
     </template>
-    <template v-slot:table>
+    <template v-slot:publicPart>
       <public-table ref="refsTableData"></public-table>
     </template>
     <template v-slot:video>
@@ -34,30 +34,13 @@
     })
   },
   data () {
-    return {
-      displayContentTabs: [{
-        StoragePlaceId: 0,
-        StoragePlaceName: '鍙栨按鍗曞厓骞叉偿鏆傚瓨搴�',
-        DesignFloorArea: 0.024,
-        StorageQty: 0.016,
-        SurplusFloorArea: 0.018,
-        StorageDate: '2021-01-17'
-      }]
-    }
+    return {}
   },
   methods: {
     refsData () {
       const data = this.storagePlaceId
       this.$refs.refsTabsData.refsDataTabs(data)
       this.$refs.refsTableData.refsDataTable(data)
-    },
-    // 鍥哄簾鐩稿叧淇℃伅璁剧疆
-    setData (title, dataBasic, dataDetailed, value) {
-      this.flag = true
-      this.value = value
-      this.displayContentTitle = title
-      this.displayContentTab = dataBasic[0]
-      this.displayContentTable = dataDetailed[0]
     }
   }
 }
@@ -97,7 +80,7 @@
   }
 
   .public-bounced-content {
-    padding: 0.1rem;
+    //padding: 0.1rem;
     display: flex;
     //align-items: center;
     //justify-content: space-around;

--
Gitblit v1.8.0