【账号管理】新建账号,在请求角色接口时,长度限制1000,增加页码查询
This commit is contained in:
parent
8ba912366b
commit
52727f0047
|
@ -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=>{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue