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, // 自定义全局变量参数 控制按钮提交时disabled isGoToIndex: false // 自定义全局变量参数 是否进入到系统首页 } const mutations = { @@ -42,6 +44,8 @@ export default { namespaced: true, buttonIsDisabled: false, isGoToIndex: false, state, mutations, actions