From 7b4cd6ef04b358e0805846d49e3acf02d7eae5cb Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期三, 30 七月 2025 11:08:33 +0800 Subject: [PATCH] feat(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