🐛 修复 sensitiveWord 在 IDEA 报错的问题

This commit is contained in:
YunaiV 2023-12-02 22:02:20 +08:00
parent 6593c603a2
commit dd4a77ff22
4 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ export interface MenuVO {
// 查询菜单(精简)列表 // 查询菜单(精简)列表
export const getSimpleMenusList = () => { export const getSimpleMenusList = () => {
return request.get({ url: '/system/menu/list-all-simple' }) return request.get({ url: '/system/menu/simple-list' })
} }
// 查询菜单列表 // 查询菜单列表

View File

@ -24,7 +24,7 @@ export const getRolePage = async (params: PageParam) => {
// 查询角色(精简)列表 // 查询角色(精简)列表
export const getSimpleRoleList = async (): Promise<RoleVO[]> => { export const getSimpleRoleList = async (): Promise<RoleVO[]> => {
return await request.get({ url: '/system/role/list-all-simple' }) return await request.get({ url: '/system/role/simple-list' })
} }
// 查询角色详情 // 查询角色详情

View File

@ -14,7 +14,7 @@
<el-radio-group v-model="formData.status"> <el-radio-group v-model="formData.status">
<el-radio <el-radio
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)" v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key="dict.value" :key="dict.value as number"
:label="dict.value" :label="dict.value"
> >
{{ dict.label }} {{ dict.label }}

View File

@ -32,7 +32,7 @@
<el-select v-model="queryParams.status" clearable placeholder="请选择启用状态"> <el-select v-model="queryParams.status" clearable placeholder="请选择启用状态">
<el-option <el-option
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)" v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key="dict.value" :key="dict.value as number"
:label="dict.label" :label="dict.label"
:value="dict.value" :value="dict.value"
class="!w-240px" class="!w-240px"