index.js 524 Bytes
import actions from './actions';
import mutations from './mutations';

export default function() {
  return {
    namespaced: true,
    state: {
      fetchingPro: false,
      fetchingNoSale: false,
      fetchingChangePrice: false,
      fetchingCalcPrice: false,
      fetchingOrder: false,
      productInfo: {}, // 商品详情
      skcs: [], // 商品下包含的出售尺码相关信息
      noEntryOrderInfo: {
        goodsInfo: {
          goodImg: ''
        }
      },
    },
    actions,
    mutations
  };
}