detailInitialState.js
570 Bytes
'use strict';
import {Record, List, Map} from 'immutable';
let InitialState = Record({
isFetching: false,
brandInfo: new (Record({
isFetching: false,
detail: Map(),
error: null,
titleUnfold: false,
addCancelTip: '',
})),
brandFav: new (Record({
isFetching: false,
isFav: false,
error: null,
})),
moreProductUrl:'',
id:'', //品牌关系id,Native传过来
brandId:'', //品牌Id,由“guang/api/v1/plustar/getbrandinfo”解析获取
udid:'',
gender:'',
productList: List(),
articleList: List(),
});
export default InitialState;