对接接口

This commit is contained in:
wangxiaowei
2025-12-17 23:34:08 +08:00
parent 018a784a8c
commit df863a2f41
19 changed files with 792 additions and 389 deletions

View File

@ -64,7 +64,7 @@ const alovaInstance = createAlova({
const token = uni.getStorageSync('token')
if (!token) {
toast.info('请先登录')
router.switchTab(import.meta.env.VITE_LOGIN_URL, 500)
router.navigateTo(import.meta.env.VITE_LOGIN_URL, 500)
throw new Error('[请求错误]:未登录')
}