fix(zone): calendar event
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
5672bfec7a
commit
40656da725
|
@ -45,6 +45,8 @@ class Controller extends Component {
|
||||||
let date = new Date(this.date.getTime());
|
let date = new Date(this.date.getTime());
|
||||||
date.setMonth(date.getMonth() + (this.nMonths * direction));
|
date.setMonth(date.getMonth() + (this.nMonths * direction));
|
||||||
this.date = date;
|
this.date = date;
|
||||||
|
|
||||||
|
this.emit('step');
|
||||||
}
|
}
|
||||||
|
|
||||||
get data() {
|
get data() {
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
vn-id="calendar"
|
vn-id="calendar"
|
||||||
data="data"
|
data="data"
|
||||||
on-selection="$ctrl.onSelection($days, $type, $weekday, $events, $exclusions)"
|
on-selection="$ctrl.onSelection($days, $type, $weekday, $events, $exclusions)"
|
||||||
|
on-step="$ctrl.refresh()"
|
||||||
class="vn-w-md">
|
class="vn-w-md">
|
||||||
</vn-zone-calendar>
|
</vn-zone-calendar>
|
||||||
<vn-side-menu side="right">
|
<vn-side-menu side="right">
|
||||||
|
|
Loading…
Reference in New Issue