Merge branch 'base' into i18n

This commit is contained in:
Burt 2024-12-31 12:20:42 +08:00
commit 4f58818529

View File

@ -5,7 +5,7 @@
* 便使
*/
import { useUserStore } from '@/store'
import { getNeedLoginPages, needLoginPages as _needLoginPages } from '@/utils'
import { needLoginPages as _needLoginPages, getNeedLoginPages } from '@/utils'
// TODO Check
const loginRoute = '/pages/login/index'
@ -49,5 +49,7 @@ export const routeInterceptor = {
uni.addInterceptor('navigateTo', navigateToInterceptor)
uni.addInterceptor('reLaunch', navigateToInterceptor)
uni.addInterceptor('redirectTo', navigateToInterceptor)
uni.addInterceptor('navigateBack', navigateToInterceptor)
uni.addInterceptor('switchTab', navigateToInterceptor)
},
}