From bf957f06a080e2e9ea0664c3e4b61df389825aee Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期日, 08 十月 2023 16:56:00 +0800 Subject: [PATCH] !51 update 优化 通过参数键名获取键值接口的返回体 Merge pull request !51 from David Wei/update/config_response --- src/views/system/user/index.vue | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 9d2fcdd..284d941 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -299,7 +299,6 @@ <script setup name="User" lang="ts"> import api from "@/api/system/user" import { UserForm, UserQuery, UserVO } from '@/api/system/user/types'; -import { getToken } from "@/utils/auth"; import { treeselect } from "@/api/system/dept"; import { DeptVO } from "@/api/system/dept/types"; import { RoleVO } from "@/api/system/role/types"; @@ -341,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