|
@@ -3,7 +3,7 @@ import { getRoleInfoByIdAPI, roleSaveAPI } from "@/store/action/C2Role";
|
|
|
import { Button, Checkbox, Input, Modal, Popconfirm } from "antd";
|
|
|
import React, { useCallback, useEffect, useState } from "react";
|
|
|
import classNames from "classnames";
|
|
|
-import "./index.css";
|
|
|
+import styles from "./index.module.scss";
|
|
|
import { AddRoleType, PermissionsAPIType, RoleTableType } from "@/types";
|
|
|
import { MessageFu } from "@/utils/message";
|
|
|
const { TextArea } = Input;
|
|
@@ -109,7 +109,7 @@ function RoleAdd({ id, closePage, upTableList, addTableList }: Props) {
|
|
|
|
|
|
return (
|
|
|
<Modal
|
|
|
- wrapClassName="roleAdd"
|
|
|
+ wrapClassName={styles.roleAdd}
|
|
|
destroyOnClose
|
|
|
open={true}
|
|
|
title={id ? (id === 1 ? "查看角色" : "编辑角色") : "新增角色"}
|