loulijun2021
2022-11-24 4a6d69f3ff895918b1b8f1e8e9b122ed8fcd5afa
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