From 30c3c06760f6412cbdb2a3a8418e1f0d43e66d30 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期一, 19 四月 2021 18:15:34 +0800 Subject: [PATCH] 完成附属设施功能。1 --- src/components/BaseNav/WasteGas/WasteGasIndex.vue | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/BaseNav/WasteGas/WasteGasIndex.vue b/src/components/BaseNav/WasteGas/WasteGasIndex.vue index cbf990a..f8c0d3d 100644 --- a/src/components/BaseNav/WasteGas/WasteGasIndex.vue +++ b/src/components/BaseNav/WasteGas/WasteGasIndex.vue @@ -1,10 +1,10 @@ <template> <public-sector> <template v-slot:tabs> - <public-tabs ref='refsTabsData'></public-tabs> + <public-tabs :storagePlaceId="storagePlaceId"></public-tabs> </template> <template v-slot:table> - <public-echarts ref="refsTableData"></public-echarts> + <public-echarts></public-echarts> </template> <template v-slot:video> <public-video></public-video> @@ -29,20 +29,20 @@ PublicVideo }, mounted () { + console.log(this.storagePlaceId) this.$nextTick(() => { - this.refsData() - console.log(this.storagePlaceId) + // this.refsData() }) }, data () { return {} }, methods: { - refsData () { - const data = this.storagePlaceId - this.$refs.refsTabsData.refsDataTabs(data) - this.$refs.refsTableData.refsDataTable(data) - } + // refsData () { + // const data = this.storagePlaceId + // this.$refs.refsTabsData.refsDataTabs(data) + // this.$refs.refsTableData.refsDataTable(data) + // } } } </script> -- Gitblit v1.8.0