1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import {setStore, getStore} from '@/util/store'
import user from "@/store/modules/user";
 
const flow = {
  state: {
    methodBtn: false,
  },
  mutations: {
    setMethodBtn(state, value) {
      state.methodBtn = value;
    }
  },
  actions: {
    // 更新保存 取消按钮
    updateMethodBtn({commit}, value) {
      commit('setMethodBtn', value);
    }
  }
}
export default flow