From 3ca8ce266bf5b06556d80c78b31405e7a54aa4e5 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期一, 24 六月 2024 11:01:13 +0800 Subject: [PATCH] 修改 --- web/packages/views/modules/sys/menu.vue | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/web/packages/views/modules/sys/menu.vue b/web/packages/views/modules/sys/menu.vue index 36a9675..a7fb48f 100644 --- a/web/packages/views/modules/sys/menu.vue +++ b/web/packages/views/modules/sys/menu.vue @@ -9,9 +9,8 @@ </el-form> <el-table v-loading="table.dataLoading" :data="table.dataList" border row-key="id" class="myTable" - :cell-style="cellStyle" - v-adaptive="{bottomOffset:50}" - height="650px" + v-adaptive="{bottomOffset:30}" + height="100px" :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> <el-table-column :label="$t('menu.name')" align="left" min-width="250" prop="name"/> <el-table-column :label="$t('menu.icon')" align="center" min-width="60" prop="icon"> @@ -53,11 +52,6 @@ AddOrUpdate }, methods: { - cellStyle({column}) { - if (column.label === '鍚嶇О') { - return 'text-align: left !important;' - } - }, isNotPlatform(row) { return true; return !this.$equalsIgnoreType(row.type, this.$dict.MenuType.PLATFORM)// 骞冲彴涓嶅厑璁镐慨鏀瑰垹闄� -- Gitblit v1.9.1