product.js 223 B

123456789101112
  1. export const state = () => ({
  2. loading: false,
  3. smImgUlIdx: 0,
  4. });
  5. export const mutations = {
  6. setLoading(state, data) {
  7. state.loading = data;
  8. },
  9. setSmImgUlIdx(state, data) {
  10. state.smImgUlIdx = data;
  11. },
  12. };