supplier.js 376 B

1234567891011121314151617181920212223
  1. const state = () => ({
  2. supplierInfo: {},
  3. accountType: '',
  4. })
  5. const mutations = {
  6. SET_SUPPLIER_INFO(state, supplierInfo) {
  7. state.supplierInfo = supplierInfo
  8. },
  9. // 微信公众号状态
  10. SET_ACCOUNT_TYPE(state, accountType) {
  11. state.accountType = accountType
  12. },
  13. }
  14. const actions = {}
  15. export default {
  16. namespaced: true,
  17. state,
  18. mutations,
  19. actions,
  20. }