From e3196bc81327e82748c7683c5cad9849b4b228b6 Mon Sep 17 00:00:00 2001 From: lxl <lixuliang_hd@126.com> Date: 星期三, 26 十月 2022 14:36:58 +0800 Subject: [PATCH] 菜单 --- src/store/index.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index c5603c5..c12a22d 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -28,12 +28,16 @@ ws: null, //鏉冮檺鍚堥泦 permsEntity: [], + currentPerms: "", }, mutations: { //鑾峰彇鏉冮檺鍚堥泦 - getPermsEntity() { + getPermsEntity(state, msg) { state.permsEntity = msg }, + currentPerms(state, msg) { + state.currentPerms = msg + }, // 鑾峰彇瀹屾暣闈㈠寘灞戣矾寰� changeCata(state, msg) { state.catalogueName = msg; -- Gitblit v1.9.3