Commit cb9ce9ea authored by Gavin Peng's avatar Gavin Peng

Merge branch 'v2-220418' of http://10.0.0.22:3000/lingxi/lingxi-business-paltform into v2-220418

parents e19df8d3 74402e60
......@@ -6,11 +6,11 @@ export const AuthUrl = (btnCode: string) => {
const RoutesAuth = auth.filter((item: any) => item?.u === pathname)
// console.log(AuthCode, 'AuthCode')
if (btnCode === 'DevTest') return true
// 本地开发时传的特殊标识,直接开放权限
if (RoutesAuth.length > 0) {
const { b } = RoutesAuth[0];
// 本地开发时传的特殊标识,直接开放权限
if (btnCode === 'DevTest') return true
for (let i = 0; i < b.length; i++) {
if (btnCode) {
// 是否有页面标识
......
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