From cb25acc46bf41863e068b6f968f1592b7a14d1c9 Mon Sep 17 00:00:00 2001 From: helongyang <647556386@qq.com> Date: 星期六, 13 九月 2025 08:12:14 +0800 Subject: [PATCH] 功能更新优化 --- 代码管理/WCS/WIDESEAWCS_Client/src/store/index.js | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Client/src/store/index.js" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Client/src/store/index.js" index e72d129..12a00c1 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Client/src/store/index.js" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Client/src/store/index.js" @@ -38,7 +38,16 @@ }, updateLoadingState(state, flag) { state.isLoading = flag + }, + + + uphomedata(state, data) { + // console.log('123',data); + + state.homedata = data; + // console.log('12state.homedata3',state.homedata); } + }, getters: { getPermission: (state) => (path) => { //璋冪敤鏂瑰紡 store.getters.getPermission('sys_User') if (!path) return state.permission; @@ -85,6 +94,10 @@ }, onLoading(context, flag) { context.commit("updateLoadingState", flag); + }, + + sethomedata(context, data) { + context.commit("uphomedata", data); } } }) -- Gitblit v1.9.3