postingInitialState.js
454 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, //是否可以点击发送
});
export default InitialState;