From 793989f6eb4e39f4b1f47931fdeefb4a12385424 Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期三, 30 七月 2025 16:46:32 +0800
Subject: [PATCH] refactor(eims): 优化设备数据定时任务和报告服务

---
 eims-ui-mobile/src/pages/login/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/eims-ui-mobile/src/pages/login/index.vue b/eims-ui-mobile/src/pages/login/index.vue
index c02558c..5c56190 100644
--- a/eims-ui-mobile/src/pages/login/index.vue
+++ b/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>
 

--
Gitblit v1.9.3