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 // 自定义全局变量参数 控制按钮提交时disabled } const mutations = { @@ -42,6 +43,7 @@ export default { namespaced: true, buttonIsDisabled: false, state, mutations, actions