车间能级提升-智能设备管理系统
zhuguifei
2025-05-13 14681dfe7052cb76eefcc0c17d0a0d708e1ac9dd
eims-ui-mobile/src/pages/login/index.vue
@@ -54,11 +54,10 @@
import { useToast } from 'wot-design-uni'
import { login, getUserInfo } from '@/service/login'
import type { UserInfo } from '@/service/login.d'
import { TestEnum } from '@/typings'
import { tabbarStore } from '@/components/fg-tabbar/tabbar'
const userStore = useUserStore()
const accessStore = useAccessStore()
const configStore = useSystemConfigStore()
const { success: showSuccess } = useToast()
const model = reactive<{
  username: string
@@ -127,6 +126,8 @@
  userStore.setUserInfo(userInfo)
  const { query } = currRoute()
  uni.switchTab({ url: '/pages/home/index' })
  tabbarStore?.setCurIdx(0)
  tabbarStore?.setLastIdx(0)
}
</script>