【账号管理】新建账号,在请求角色接口时,长度限制1000,增加页码查询

This commit is contained in:
Apple 2022-08-10 16:50:55 +08:00
parent 8ba912366b
commit 52727f0047
1 changed files with 5 additions and 1 deletions

View File

@ -311,7 +311,11 @@ export default class adduserinfo extends React.Component{
//获取角色 //获取角色
getRoleFn(){ getRoleFn(){
let _self=this; let _self=this;
getRole().then(res=>{ let data={
page:1,
limit:1000
}
getRole(data).then(res=>{
handelResponse(res,(response,msg)=>{ handelResponse(res,(response,msg)=>{
let roleList=response.data.map(item=>{ let roleList=response.data.map(item=>{