From a8756c3526832332db4ef5685348d9b188c2bf2b Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期六, 13 九月 2025 08:36:44 +0800 Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn --- 代码管理/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