mirror of
https://gitee.com/gz-yami/mall4v.git
synced 2025-12-26 07:16:27 +08:00
补充
This commit is contained in:
parent
c5d3bc60b4
commit
f9ecefc247
@ -20,7 +20,7 @@ export function isAuth (key) {
|
||||
if (authorities.length) {
|
||||
for (const i in authorities) {
|
||||
const element = authorities[i]
|
||||
if (element.authority === key) {
|
||||
if (element === key) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user