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/interceptors/route.ts | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eims-ui-mobile/src/interceptors/route.ts b/eims-ui-mobile/src/interceptors/route.ts index ddd6c98..fe5bc2f 100644 --- a/eims-ui-mobile/src/interceptors/route.ts +++ b/eims-ui-mobile/src/interceptors/route.ts @@ -4,15 +4,15 @@ * 鍙互璁剧疆璺敱鐧藉悕鍗曪紝鎴栬�呴粦鍚嶅崟锛岀湅涓氬姟闇�瑕侀�夊摢涓�涓� * 鎴戣繖閲屽簲涓哄ぇ閮ㄥ垎閮藉彲浠ラ殢渚胯繘鍏ワ紝鎵�浠ヤ娇鐢ㄩ粦鍚嶅崟 */ -import { useUserStore } from '@/store' +import { useUserStore, useAccessStore } from '@/store' import { needLoginPages as _needLoginPages, getNeedLoginPages } from '@/utils' // TODO Check const loginRoute = '/pages/login/index' const isLogined = () => { - const userStore = useUserStore() - return userStore.isLogined + const accessStore = useAccessStore() + return accessStore.isLogined } const isDev = import.meta.env.DEV -- Gitblit v1.9.3