|
|
@@ -4,7 +4,7 @@
|
|
|
*/
|
|
|
|
|
|
import React, { Component } from 'react'
|
|
|
-import { Calendar, Select, Col, Row } from 'antd'
|
|
|
+import { Calendar, Select, Row } from 'antd'
|
|
|
import './common-calendar.less'
|
|
|
import moment from 'moment'
|
|
|
import {
|
|
|
@@ -117,6 +117,17 @@ export default class CommonCalendar extends Component {
|
|
|
>
|
|
|
{monthOptions}
|
|
|
</Select>
|
|
|
+
|
|
|
+ <button
|
|
|
+ className="todaybtn"
|
|
|
+ onClick={() => {
|
|
|
+ const now = moment()
|
|
|
+ onChange(now)
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 今
|
|
|
+ </button>
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
<div className="right-box arrow-box">
|