修改 xls文件无法预览问题

This commit is contained in:
GGJ
2024-10-15 10:39:28 +08:00
parent 7062305c01
commit 9404412823
7 changed files with 37 additions and 15 deletions

View File

@@ -8,14 +8,12 @@ import { closeShade } from '@/utils/pageShade'
import { adminBaseRoute } from '@/router/static'
import { compact, isEmpty, reverse } from 'lodash-es'
import { isAdminApp } from '@/utils/common'
import { log } from 'console'
/**
* 导航失败有错误消息的路由push
* @param to — 导航位置,同 router.push
*/
export const routePush = async (to: RouteLocationRaw) => {
console.log("🚀 ~ routePush ~ to:", to)
try {
const failure = await router.push(to)
if (isNavigationFailure(failure, NavigationFailureType.aborted)) {