用户中心接口调整

This commit is contained in:
yuping
2023-07-03 15:18:59 +08:00
parent 0e8341f980
commit 727a377afa
5 changed files with 5 additions and 5 deletions

View File

@@ -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));
})
}