From d26274d89d377067c1e2648192cffbf89464b361 Mon Sep 17 00:00:00 2001
From: wsj <593216709@qq.com>
Date: Wed, 28 Oct 2026 23:34:32 +0800
Subject: [PATCH] feat: 拆包
---
src/pages/system/roles/index.tsx | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/pages/system/roles/index.tsx b/src/pages/system/roles/index.tsx
index 28342f5..27ae08b 100644
--- a/src/pages/system/roles/index.tsx
+++ b/src/pages/system/roles/index.tsx
@@ -3,7 +3,7 @@
import type { ActionType } from '@ant-design/pro-components';
import { App as AntdApp, Descriptions, Drawer, Tag } from 'antd';
import { createRoleColumns, getRoleStatusMeta, getRoleTypeMeta } from './columns';
-import { getRoleDetail, getRoleList, toggleRoleStatus } from './server';
+import { getRoleDetail, getRoleList, toggleRoleStatus } from './service';
import type { RoleListQuery, RoleVO } from './types';
const Roles = () => {
@@ -31,7 +31,6 @@
const handleToggle = useCallback(
(record: RoleVO) => {
const nextAction = record.status === 'ENABLED' ? '禁用' : '启用';
-
modal.confirm({
title: `${nextAction}角色`,
content: `确定要${nextAction}角色「${record.roleName}」吗?`,
--
Gitblit v1.9.3