Commit 1e3147e0 authored by pengyunqian's avatar pengyunqian

update:更新res

parent 2959e5ea
...@@ -335,6 +335,11 @@ export default { ...@@ -335,6 +335,11 @@ export default {
const res = await this.getPermissionsAll() const res = await this.getPermissionsAll()
console.log(res) console.log(res)
if(!res) {
this.$router.push({name: 'Forbidden'})
return
}
let withdrawlPermission = res.filter( let withdrawlPermission = res.filter(
({name}) => name === "withdrawal_audit" ({name}) => name === "withdrawal_audit"
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment