From 99a6b562335da60795f61b7c29f5414b3bfd3469 Mon Sep 17 00:00:00 2001 From: DESKTOP-IGCH756\PC <921509429@qq.com> Date: 星期四, 28 九月 2023 14:58:34 +0800 Subject: [PATCH] 优化表格列的显示与隐藏小组件 --- src/views/system/user/index.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 9a6d82c..284d941 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -340,13 +340,13 @@ }) // 鍒楁樉闅愪俊鎭� const columns = ref<FieldOption[]>([ - { key: 0, label: `鐢ㄦ埛缂栧彿`, visible: false }, - { key: 1, label: `鐢ㄦ埛鍚嶇О`, visible: true }, - { key: 2, label: `鐢ㄦ埛鏄电О`, visible: true }, - { key: 3, label: `閮ㄩ棬`, visible: true }, - { key: 4, label: `鎵嬫満鍙风爜`, visible: true }, - { key: 5, label: `鐘舵�乣, visible: true }, - { key: 6, label: `鍒涘缓鏃堕棿`, visible: true } + { key: 0, label: `鐢ㄦ埛缂栧彿`, visible: false,children: [] }, + { key: 1, label: `鐢ㄦ埛鍚嶇О`, visible: true,children: [] }, + { key: 2, label: `鐢ㄦ埛鏄电О`, visible: true,children: [] }, + { key: 3, label: `閮ㄩ棬`, visible: true,children: [] }, + { key: 4, label: `鎵嬫満鍙风爜`, visible: true,children: [] }, + { key: 5, label: `鐘舵�乣, visible: true,children: [] }, + { key: 6, label: `鍒涘缓鏃堕棿`, visible: true,children: [] } ]) -- Gitblit v1.9.3