From f04ad56230f4c4845dbfac3d5eaacb62f851685c Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 19 三月 2025 11:16:37 +0800
Subject: [PATCH] 表格封装表头宽度问题
---
src/views/system/dept/index.vue | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index fa71608..b7c3bdc 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -28,6 +28,7 @@
</el-row>
<el-table v-if="refreshTable" v-loading="loading" :data="deptList" row-key="deptId"
+ :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border
:default-expand-all="isExpandAll" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }">
<el-table-column prop="deptName" label="閮ㄩ棬鍚嶇О" width="260"></el-table-column>
<el-table-column prop="orderNum" label="鎺掑簭" width="200"></el-table-column>
--
Gitblit v1.9.3