Commit abbb64f7 authored by xinglei's avatar xinglei

修改报表导出时间精确到秒

parent 6f7b5f66
...@@ -138,7 +138,7 @@ class NewsSearch extends Component { ...@@ -138,7 +138,7 @@ class NewsSearch extends Component {
className="search_Input" className="search_Input"
value={moment(form.startTime.value)} value={moment(form.startTime.value)}
allowClear={false} allowClear={false}
format="YYYY-MM-DD" format={FORMAT}
onChange={e => this.onDateChange('startTime', e)} onChange={e => this.onDateChange('startTime', e)}
/> />
</FormItem> </FormItem>
...@@ -147,7 +147,7 @@ class NewsSearch extends Component { ...@@ -147,7 +147,7 @@ class NewsSearch extends Component {
className="search_Input" className="search_Input"
value={moment(form.endTime.value)} value={moment(form.endTime.value)}
allowClear={false} allowClear={false}
format="YYYY-MM-DD" format={FORMAT}
onChange={e => this.onDateChange('endTime', e)} onChange={e => this.onDateChange('endTime', e)}
/> />
</FormItem> </FormItem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment