From d86a10d75365cb44497e171b88620d80869ef6c0 Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Sat, 17 Oct 2020 14:38:27 +0200 Subject: [PATCH] =?UTF-8?q?el-table=E5=AE=9E=E7=8E=B0EditSites=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 4 +- src/assets/scss/style.scss | 3 + src/components/EditSites.vue | 143 ++++++++++++++--------------------- src/components/History.vue | 1 - 4 files changed, 62 insertions(+), 89 deletions(-) diff --git a/src/App.vue b/src/App.vue index fb79975..88ca943 100644 --- a/src/App.vue +++ b/src/App.vue @@ -9,6 +9,7 @@ + @@ -16,9 +17,6 @@ - - - diff --git a/src/assets/scss/style.scss b/src/assets/scss/style.scss index 94cf00b..c048b55 100644 --- a/src/assets/scss/style.scss +++ b/src/assets/scss/style.scss @@ -222,6 +222,9 @@ .el-table::before{ height: 0px; } + .el-table{ + height: 100%; + } .el-table__body td,.el-table__body th{ height: 50px; border-bottom: 1px solid; diff --git a/src/components/EditSites.vue b/src/components/EditSites.vue index edd7778..689ad8e 100644 --- a/src/components/EditSites.vue +++ b/src/components/EditSites.vue @@ -1,30 +1,39 @@ - diff --git a/src/components/History.vue b/src/components/History.vue index 6e6b6d4..93d30ad 100644 --- a/src/components/History.vue +++ b/src/components/History.vue @@ -8,7 +8,6 @@