角色添加参数

ui1
e 3 years ago
parent c639e8d51c
commit 316561116f
  1. 2
      src/pages/user/list/index.vue

@ -306,7 +306,7 @@ export default {
this.getData() this.getData()
}, },
getRole(){ getRole(){
this.$get(`${this.api.listRole}?page=1&size=1000&name=`).then(res => { this.$get(`${this.api.listRole}?page=1&size=1000&name=&platformId=${Setting.platformId}`).then(res => {
this.roleList = res.rolePage.records this.roleList = res.rolePage.records
}).catch(res => {}) }).catch(res => {})
}, },

Loading…
Cancel
Save