From e381419eb557e3022496812a691033d7d4accbe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=8A=B2=E6=9D=BE?= Date: Mon, 9 Mar 2020 18:05:43 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=8F=B3=E4=BE=A7=E5=86=85=E5=AE=B9min?= =?UTF-8?q?-width=3D1200=E5=8F=8A=E7=9B=B8=E5=85=B3=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1.右侧内容min-width=1200 2.浏览器窗体缩小后增加横向滚动条 3.增加project、asset左侧菜单滚动条 4.将table高度抽取为常量 --- nezha-fronted/src/App.vue | 27 +++++--- nezha-fronted/src/assets/stylus/main.scss | 18 +++--- .../src/components/common/pagination.vue | 2 +- .../common/rightBox/editEndpointBox.vue | 18 +++--- .../src/components/page/alert/config.vue | 2 +- .../src/components/page/alert/list.vue | 2 +- .../src/components/page/asset/asset.vue | 63 +++++++++++-------- .../src/components/page/config/account.vue | 2 +- .../src/components/page/config/dc.vue | 2 +- .../src/components/page/config/promServer.vue | 2 +- .../src/components/page/project/project.vue | 47 ++++++++------ nezha-fronted/src/http.js | 2 +- nezha-fronted/src/main.js | 4 ++ 13 files changed, 114 insertions(+), 77 deletions(-) diff --git a/nezha-fronted/src/App.vue b/nezha-fronted/src/App.vue index c26526151..dc9087029 100644 --- a/nezha-fronted/src/App.vue +++ b/nezha-fronted/src/App.vue @@ -1,9 +1,11 @@ diff --git a/nezha-fronted/src/components/page/config/account.vue b/nezha-fronted/src/components/page/config/account.vue index 1b0eb8a90..4e1e73f3d 100644 --- a/nezha-fronted/src/components/page/config/account.vue +++ b/nezha-fronted/src/components/page/config/account.vue @@ -35,7 +35,7 @@ :data="tableData" border ref="accountTable" - height="calc(100% - 125px)" + :height="$tableHeight.normal" v-scrollBar:el-table style="width: 100%;"> - +