Quellcode durchsuchen

style: 修改表格宽

wanggaokun vor 1 Jahr
Ursprung
Commit
6e9d8d346b
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 2 2
      src/views/system/dict/index.vue
  2. 2 2
      src/views/system/user/index.vue

+ 2 - 2
src/views/system/dict/index.vue

@@ -98,8 +98,8 @@ const handleRefreshCache = async () => {
 
 // 表格配置项
 const columns = reactive<ColumnProps<any>[]>([
-  { type: 'selection', fixed: 'left', width: 70 },
-  { prop: 'dictId', label: '字典编号', width: 70 },
+  { type: 'selection', fixed: 'left', width: 60 },
+  { prop: 'dictId', label: '字典编号', width: 100 },
   {
     prop: 'dictName',
     label: '字典名称',

+ 2 - 2
src/views/system/user/index.vue

@@ -209,8 +209,8 @@ const openDialog = async (type: number, title: string, row?: any) => {
 }
 // 表格配置项
 const columns = reactive<ColumnProps<User.ResUserList>[]>([
-  { type: 'selection', fixed: 'left', width: 70 },
-  { prop: 'userId', label: '用户编号' },
+  { type: 'selection', fixed: 'left', width: 60 },
+  { prop: 'userId', label: '用户编号', width: 100 },
   { prop: 'userName', label: '用户名称', search: { el: 'input' }, width: 120 },
   { prop: 'nickName', label: '用户昵称', search: { el: 'input' }, width: 120 },
   { prop: 'dept.deptName', label: '部门', width: 120 },