Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ef31ec7a
authored
Aug 05, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix:分配角色菜单时,调用接口 404 问题
parent
a2fdff47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/api/system/permission/index.ts
+1
-1
No files found.
src/api/system/permission/index.ts
View file @
ef31ec7a
...
@@ -18,7 +18,7 @@ export interface PermissionAssignRoleDataScopeReqVO {
...
@@ -18,7 +18,7 @@ export interface PermissionAssignRoleDataScopeReqVO {
// 查询角色拥有的菜单权限
// 查询角色拥有的菜单权限
export
const
getRoleMenuList
=
async
(
roleId
:
number
)
=>
{
export
const
getRoleMenuList
=
async
(
roleId
:
number
)
=>
{
return
await
request
.
get
({
url
:
'/system/permission/list-role-
resource
s?roleId='
+
roleId
})
return
await
request
.
get
({
url
:
'/system/permission/list-role-
menu
s?roleId='
+
roleId
})
}
}
// 赋予角色菜单权限
// 赋予角色菜单权限
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment