This commit is contained in:
liaoanqi 2022-03-31 16:46:08 +08:00
parent c5d3bc60b4
commit f9ecefc247

View File

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