格式化前端文件

This commit is contained in:
piexlmax 2022-01-07 14:30:57 +08:00
parent 3a15adec52
commit 6b4c4e82ea
2 changed files with 145 additions and 145 deletions

View File

@ -53,7 +53,7 @@ router.beforeEach(async(to, from, next) => {
if (!asyncRouterFlag && whiteList.indexOf(from.name) < 0) {
asyncRouterFlag++
await getRouter()
next({...to, replace: true })
next({ ...to, replace: true })
} else {
if (to.matched.length) {
next()

View File

@ -27,8 +27,8 @@ const closeLoading = () => {
clearTimeout(timer)
emitter.emit('closeLoading')
}
}
// http request 拦截器
}
// http request 拦截器
service.interceptors.request.use(
config => {
if (!config.donNotShowLoading) {