From 79d9fc857559982b00b68b2d709807bdc4cd286f Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 11 Apr 2022 10:58:17 +0800
Subject: [PATCH] minio 地址修改
---
src/store/modules/common.js | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/store/modules/common.js b/src/store/modules/common.js
index 0cc276d..e7ecff6 100644
--- a/src/store/modules/common.js
+++ b/src/store/modules/common.js
@@ -40,8 +40,13 @@
SET_SHADE: (state, active) => {
state.isShade = active;
},
- SET_COLLAPSE: (state) => {
- state.isCollapse = !state.isCollapse;
+ SET_COLLAPSE: (state, val = 3) => {
+ // console.log(val)
+ if (val == 3) {
+ state.isCollapse = !state.isCollapse;
+ } else {
+ state.isCollapse = val;
+ }
},
SET_FULLSCREN: (state) => {
state.isFullScren = !state.isFullScren;
--
Gitblit v1.9.3