scanCode.js 245 B

1234567891011121314151617181920
  1. const state = {
  2. userCoupon: null,
  3. };
  4. const mutations = {
  5. mutSetUserCoupon(state, data) {
  6. state.userCoupon = data;
  7. },
  8. };
  9. const actions = {
  10. };
  11. export default {
  12. namespaced: true,
  13. state,
  14. mutations,
  15. actions,
  16. }