feat(login): wip 登录系统

This commit is contained in:
feige996
2025-08-18 22:01:55 +08:00
parent e8478c9d43
commit 6aa4bc3472
5 changed files with 19 additions and 10 deletions

View File

@@ -1,8 +1,6 @@
<script setup lang="ts">
import { onHide, onLaunch, onShow } from '@dcloudio/uni-app'
import { navigateToInterceptor } from '@/router/interceptor'
import { tabbarStore } from './tabbar/store'
import 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'
onLaunch((options) => {
@@ -12,9 +10,6 @@ onLaunch((options) => {
const gotoPath = options?.path || ''
navigateToInterceptor.invoke({ url: gotoPath })
// 处理直接进入路由非首页时tabbarIndex 不正确的问题
tabbarStore.setAutoCurIdx(gotoPath)
})
onShow((options) => {
console.log('App Show', options)