From 881cd19ffa9e5d05b722cfeae951f50971c0593a Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 06 十二月 2022 14:01:08 +0800
Subject: [PATCH] 1.增加页签关闭时重新登录功能
---
src/store/modules/app.js | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/store/modules/app.js b/src/store/modules/app.js
index 7ea7e33..19b8157 100644
--- a/src/store/modules/app.js
+++ b/src/store/modules/app.js
@@ -5,7 +5,9 @@
opened: Cookies.get('sidebarStatus') ? !!+Cookies.get('sidebarStatus') : true,
withoutAnimation: false
},
- device: 'desktop'
+ device: 'desktop',
+ buttonIsDisabled: false, // 鑷畾涔夊叏灞�鍙橀噺鍙傛暟 鎺у埗鎸夐挳鎻愪氦鏃禿isabled
+ isGoToIndex: false // 鑷畾涔夊叏灞�鍙橀噺鍙傛暟 鏄惁杩涘叆鍒扮郴缁熼椤�
}
const mutations = {
@@ -42,6 +44,8 @@
export default {
namespaced: true,
+ buttonIsDisabled: false,
+ isGoToIndex: false,
state,
mutations,
actions
--
Gitblit v1.9.3