Browse Source

暂存

master
安虹睿 1 year ago
parent
commit
3875b40814
  1. 10
      Code/Fe/src/permission.js

10
Code/Fe/src/permission.js

@ -83,8 +83,8 @@ router.beforeEach(async (to, from, next) => {
} }
}else{ }else{
// 重新获取api接口表头 // 重新获取api接口表头
// const _interfaceBoardColumnsNames = localStorage.getItem("interfaceBoardColumnsNames") const _interfaceBoardColumnsNames = localStorage.getItem("interfaceBoardColumnsNames")
// if( !_interfaceBoardColumnsNames || _interfaceBoardColumnsNames == 'undefined' || _interfaceBoardColumnsNames == 'null'){ if( !_interfaceBoardColumnsNames || _interfaceBoardColumnsNames == 'undefined' || _interfaceBoardColumnsNames == 'null'){
getInterfaceBoard().then(result => { getInterfaceBoard().then(result => {
// todo-new:columnsApiNamesZh配置的地址补全(evel) // todo-new:columnsApiNamesZh配置的地址补全(evel)
localStorage.setItem("interfaceBoardColumnsNames", JSON.stringify(result.resources[_zh].texts)); localStorage.setItem("interfaceBoardColumnsNames", JSON.stringify(result.resources[_zh].texts));
@ -92,9 +92,9 @@ router.beforeEach(async (to, from, next) => {
next() next()
},0) },0)
}) })
// }else{ }else{
// next() next()
// } }
} }

Loading…
Cancel
Save