From ec3342e1b34dd02f33dae9bed2db16a14ae8096d Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期三, 21 十二月 2022 17:06:11 +0800 Subject: [PATCH] 1 --- src/components/MapView/mapSpacePop.vue | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/components/MapView/mapSpacePop.vue b/src/components/MapView/mapSpacePop.vue index 9c43282..78a1ffe 100644 --- a/src/components/MapView/mapSpacePop.vue +++ b/src/components/MapView/mapSpacePop.vue @@ -47,12 +47,17 @@ ></el-input> </el-form-item> <el-form-item> - <el-button plain @click="setSpaceTableLayer">鏌ヨ</el-button> + <el-button plain @click="setSpaceTableLayer">鏌ヨ</el-button> <el-button plain @click="restSpacePopLayer">閲嶇疆</el-button> </el-form-item> </el-form> <div class="centTable"> - <el-table :data="tableData" height="220" style="width: 100%"> + <el-table + :data="tableData" + height="220px" + ref="filterTable" + style="width: 100%" + > <el-table-column align="center" type="index" @@ -308,6 +313,7 @@ } } this.tableData = data.result; + this.$refs.filterTable.doLayout(); }, async spaceLocation(index, row) { var param = { @@ -367,7 +373,9 @@ overflow: hidden; border: 1px solid gray; float: left; - + .centTable { + height: 230px; + } .rightTitle { padding: 5px; color: white; @@ -378,7 +386,6 @@ color: white; } } - .bottomPage { position: absolute; bottom: 1%; @@ -394,7 +401,6 @@ } /deep/ .el-table { background-color: transparent; - th, td { background-color: transparent; -- Gitblit v1.9.3