mutations.js 519 B

1234567891011121314151617181920
  1. export default {
  2. addCart(state, payload) {
  3. state.cartCount = payload.count
  4. },
  5. // 标签
  6. MUTA_LABELLIST(state, payload) {
  7. state.$S_tagSet_labelList = [];
  8. state.$S_tagSet_labelList = payload;
  9. },
  10. // 广告A
  11. MUTA_A_ADVERTLIST(state, payload) {
  12. state.$S_advertManage_A_advertList = [];
  13. state.$S_advertManage_A_advertList = payload;
  14. },
  15. // 广告B
  16. MUTA_B_ADVERTLIST(state, payload) {
  17. state.$S_advertManage_B_advertList = [];
  18. state.$S_advertManage_B_advertList = payload;
  19. },
  20. }