From 487e83a19980760623d599aafd0e55047dbdf899 Mon Sep 17 00:00:00 2001 From: lizijiee <562949697@qq.com> Date: Sun, 31 Mar 2024 13:55:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9AI=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=98=BE=E7=A4=BA=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/user.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index fb93e9a..d52817a 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -124,6 +124,11 @@ export const useUserStore = defineStore({ // 默认设置为第一个租户 const firstTenant = data.tenantList.length > 0 ? data.tenantList[0] : null const tenantId = firstTenant ? firstTenant.id : '' + data.frontmenuTList.forEach(ele=>{ + if(ele.description === 'AI工单'){ + ele.description = '图审审批管理' + } + }) storage.set(CURRENT_USER, data, ex) storage.set(TENANT_ID, tenantId) this.setUserInfo(data)