From 60384e8241fa855b5780260633ee9b9f8904847a Mon Sep 17 00:00:00 2001
From: baoshiwei <baoshiwei@shlanbao.cn>
Date: 星期五, 20 六月 2025 14:24:19 +0800
Subject: [PATCH] feat(eims-ui-mobile): 为多个页面添加搜索功能 - 在 equ-list、insp-st、maint-st、req-list 和 res-list 页面中添加设备名称和资产编号的模糊搜索

---
 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