Skip to content

Commit

Permalink
Update calendar.vue
Browse files Browse the repository at this point in the history
change var and methods to lowercate
  • Loading branch information
mod committed Jun 30, 2020
1 parent 2acc02e commit aefec4e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/calendar/calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<Icon type="ios-arrow-back" :class="[classes + '-action-arrow']" @click.native="prev" />
<DatePicker
type="month"
:value="DatePickerTime"
:value="datePickerTime"
transfer
placement="bottom"
@on-change="handlerPickerClick"
@on-clickoutside="handlerPickerClose"
:open="datePickerVisible">
<span :class="[classes + '-action-title']" @click="ChoosePickerDate">
<span :class="[classes + '-action-title']" @click="choosePickerDate">
{{selectYear}}{{t('i.datepicker.year')}}{{zeroFill(selectMonth)}}{{t('i.datepicker.month')}}
</span>
</DatePicker>
Expand Down Expand Up @@ -75,7 +75,7 @@ export default {
return {
// datePicker status
datePickerVisible: false,
DatePickerTime: '',
datePickerTime: '',
prefixCls: prefixCls,
days: [],
nowYear: nowTime.year,
Expand Down Expand Up @@ -141,7 +141,7 @@ export default {
this.updateDays();
this.handlerPickerClose();
},
ChoosePickerDate () {
choosePickerDate () {
this.datePickerVisible = !this.datePickerVisible;
},
handlerPickerClose () {
Expand Down

0 comments on commit aefec4e

Please sign in to comment.