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