From 07ff3e5cb589618a58c2f1c8b58b9f1305342532 Mon Sep 17 00:00:00 2001 From: lihang <lihang@vci-tech.com> Date: 星期四, 08 六月 2023 15:04:05 +0800 Subject: [PATCH] 修改版本规则、元数据页面查看应用范围;修正页面点击编辑时,修改了源数据的问题; --- Source/UBCS-WEB/src/store/modules/user.js | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/store/modules/user.js b/Source/UBCS-WEB/src/store/modules/user.js index f1c8eb1..fed7910 100644 --- a/Source/UBCS-WEB/src/store/modules/user.js +++ b/Source/UBCS-WEB/src/store/modules/user.js @@ -43,6 +43,10 @@ menuAll: getStore({name: 'menuAll'}) || [], token: getStore({name: 'token'}) || '', refreshToken: getStore({name: 'refreshToken'}) || '', + upadatastatus:[], + updataid:{ + id:"" + } }, actions: { //鏍规嵁鐢ㄦ埛鍚嶇櫥褰� @@ -227,6 +231,9 @@ }, }, mutations: { + byid:(state,id)=>{ + state.updataid=id + }, SET_TOKEN: (state, token) => { setToken(token); state.token = token; @@ -263,6 +270,8 @@ setStore({name: 'tenantId', content: state.tenantId}) }, SET_USER_INFO: (state, userInfo) => { + state.upadatastatus=userInfo + console.log(state.upadatastatus) if (validatenull(userInfo.avatar)) { userInfo.avatar = "/img/bg/img-logo.png"; } -- Gitblit v1.9.3