From 51278733fa7dc83936ffd39d2d6acd8c5bd0ea90 Mon Sep 17 00:00:00 2001 From: teo <1005865487@qq.com> Date: Mon, 10 Nov 2025 16:31:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E5=96=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-tdesign/src/views/system/admin/index.vue | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/apps/web-tdesign/src/views/system/admin/index.vue b/apps/web-tdesign/src/views/system/admin/index.vue index 05c58d54..aea9a196 100644 --- a/apps/web-tdesign/src/views/system/admin/index.vue +++ b/apps/web-tdesign/src/views/system/admin/index.vue @@ -3,6 +3,14 @@ import { computed } from 'vue'; import { confirm, Page, useVbenModal } from '@vben/common-ui'; +import { + Button as TButton, + Link as TLink, + Space as TSpace, + Switch as TSwitch, +} from 'tdesign-vue-next'; + +import { message } from '#/adapter/tdesign'; import { useVbenVxeGrid } from '#/adapter/vxe-table'; import { changeAdminStatus, getAdminListByPage } from '#/api'; import { toObject } from '#/enum'; @@ -16,10 +24,6 @@ const [FormModel, formModelApi] = useVbenModal({ destroyOnClose: true, }); -import { message } from '#/adapter/tdesign'; - -import { Button as TButton, Space as TSpace, Switch as TSwitch, Link as TLink } from 'tdesign-vue-next'; - function onStatusChange(value: any, row: any) { confirm(`确认${value === 1 ? '启用' : '禁用'}用户`, `切换状态`) .then(async () => { @@ -123,7 +127,7 @@ const deptOptionsMap = computed(() => {