fix: 路由拦截器在相对路径的情况下异常
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { pages, subPackages, tabBar } from '@/pages.json'
|
||||
import { isMpWeixin } from './platform'
|
||||
|
||||
const getLastPage = () => {
|
||||
export const getLastPage = () => {
|
||||
// getCurrentPages() 至少有1个元素,所以不再额外判断
|
||||
// const lastPage = getCurrentPages().at(-1)
|
||||
// 上面那个在低版本安卓中打包会报错,所以改用下面这个【虽然我加了 src/interceptions/prototype.ts,但依然报错】
|
||||
|
||||
Reference in New Issue
Block a user