Commit 1d7da8f9 by chenshu

fix:修改范围

parent 83768026
......@@ -305,7 +305,7 @@ class Home extends React.Component {
>视频课</span>
</div>
<div className="study-select">
<span className="select-word">{moment().subtract(timeRange, 'day').format('MM.DD')} ~ {moment().format('MM.DD')}</span>
<span className="select-word">{moment().subtract(timeRange - 1, 'day').format('MM.DD')} ~ {moment().format('MM.DD')}</span>
<Select
style={{ width: 88 }}
value={timeRange}
......
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