feat: 去掉console

This commit is contained in:
徐历敏 2020-10-29 00:15:39 +08:00
parent 8075af69f2
commit 52e745de4c

View File

@ -41,10 +41,8 @@ export class CustomMonthsView extends MonthsView {
};
render() {
const __ = this.props.translate;
console.log('CustomMonthsView',this.props);
const showYearHead = this.props.inputFormat.toUpperCase() !== 'MM'
const canClick = this.props.inputFormat.toUpperCase() === 'YYYY-MM'
console.log('canClick',canClick);
return (
<div className="rdtMonths">
<table>
@ -67,9 +65,7 @@ export class CustomMonthsView extends MonthsView {
{this.props.viewDate.format(__('YYYY年'))}
</th>
}
{/*<th className="rdtSwitch" onClick={this.props.showView('years')}>*/}
{/* {this.props.viewDate.format(__('YYYY年'))}*/}
{/*</th>*/}
<th className="rdtNext" onClick={this.props.addTime(1, 'years')}>
»
</th>