From 482efd9ee971fe7d799a015dc288340c85b8805c Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 29 九月 2022 11:24:17 +0800
Subject: [PATCH] 1.新增 提交类按钮只能提交一次的控制2.关联类的按钮 接口返回成功后显示对话框
---
src/store/modules/app.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/store/modules/app.js b/src/store/modules/app.js
index 7ea7e33..a868bf9 100644
--- a/src/store/modules/app.js
+++ b/src/store/modules/app.js
@@ -5,7 +5,8 @@
opened: Cookies.get('sidebarStatus') ? !!+Cookies.get('sidebarStatus') : true,
withoutAnimation: false
},
- device: 'desktop'
+ device: 'desktop',
+ buttonIsDisabled: false // 鑷畾涔夊叏灞�鍙橀噺鍙傛暟 鎺у埗鎸夐挳鎻愪氦鏃禿isabled
}
const mutations = {
@@ -42,6 +43,7 @@
export default {
namespaced: true,
+ buttonIsDisabled: false,
state,
mutations,
actions
--
Gitblit v1.9.3