postingInitialState.js
580 Bytes
/**
* # postingInitialState.js
*
*
*/
'use strict';
/**
* ## Import immutable record
*/
import Immutable, {List, Record} from 'immutable';
/**
* ## InitialState
*
* The fields we're concerned with
*/
let InitialState = Record({
isFetching: false,
error: null,
currentBoardName: '',
currentBoardId:'',
title:'',
content:'',
boards: List(),
assets: List(),
dataValid:false, //是否可以点击发送
inPosting:false,//正在上传
postFail: false,
finishedCount:0,
postPercent:0,
postingBannerShow:false,
uploadState:0,
});
export default InitialState;