loading文件修改
This commit is contained in:
@@ -29,10 +29,11 @@ const state = reactive({
|
|||||||
const refresh = () => {
|
const refresh = () => {
|
||||||
router.go(0)
|
router.go(0)
|
||||||
}
|
}
|
||||||
|
if (isAdminApp() && navTabs.state.tabsViewRoutes.length > 0) {
|
||||||
if (isAdminApp() && navTabs.state.tabsViewRoutes) {
|
|
||||||
let firstRoute = getFirstRoute(navTabs.state.tabsViewRoutes)
|
let firstRoute = getFirstRoute(navTabs.state.tabsViewRoutes)
|
||||||
if (firstRoute) routePush(firstRoute.path)
|
if (firstRoute) routePush(firstRoute.path)
|
||||||
|
}else{
|
||||||
|
routePush('/')
|
||||||
}
|
}
|
||||||
|
|
||||||
timer = window.setTimeout(() => {
|
timer = window.setTimeout(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user