| | |
| | | * @Company: hugeInfo |
| | | * @Author: ldh |
| | | * @Date: 2022-02-18 15:12:34 |
| | | * @LastEditTime: 2022-08-02 15:53:17 |
| | | * @LastEditors: ldh |
| | | * @LastEditTime: 2024-08-26 10:24:36 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @Version: 1.0.0 |
| | | * @Description: 角色管理 |
| | | */ |
| | |
| | | async function getRolePower(roleId, isChange) { |
| | | global.setSpinning(true); |
| | | const res = await getRolePowerApi(roleId); |
| | | console.log(res,'res22222') |
| | | global.setSpinning(false); |
| | | if (res.type) { |
| | | if (isChange) { |
| | |
| | | getAllData(); |
| | | }, []); |
| | | |
| | | |
| | | // 角色操作 |
| | | const dropdownOption = ({ value }) => |
| | | value.id === 'none' ? null : ( |