mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 02:46:45 +08:00
用户中心接口调整
This commit is contained in:
@@ -86,7 +86,7 @@ async function initDict(key) {
|
||||
|
||||
function getUserPermission(){
|
||||
request(USER_PERMISSION,{permissionType:'PAGE'}).then(res=>{
|
||||
store.commit("SET_PERMISSION", res.result.flatMap(t=>t?.permissionPageList.map(s=>s.url)));
|
||||
store.commit("SET_PERMISSION", res.data?.map(s=>s.url));
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user