mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
feat: 去掉console
This commit is contained in:
parent
8075af69f2
commit
52e745de4c
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user