mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
clean lv plan reactions to ismobile changes
This commit is contained in:
@@ -82,6 +82,17 @@ export default {
|
||||
];
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
async isMobile() {
|
||||
await this.$nextTick();
|
||||
this.handleChangeMode(
|
||||
this.currentMode,
|
||||
luxon.DateTime.fromISO(this.currentDay, {
|
||||
zone: this.timezone,
|
||||
}),
|
||||
);
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
handleChangeDate(day, newMode) {
|
||||
return this.handleChangeMode(newMode, day);
|
||||
|
||||
@@ -137,6 +137,15 @@ export default {
|
||||
this.$router.go();
|
||||
},
|
||||
},
|
||||
async isMobile() {
|
||||
await this.$nextTick();
|
||||
this.handleChangeMode(
|
||||
this.currentMode,
|
||||
luxon.DateTime.fromISO(this.currentDay, {
|
||||
zone: this.timezone,
|
||||
}),
|
||||
);
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
handleChangeDate(day, newMode) {
|
||||
|
||||
@@ -130,6 +130,17 @@ export default {
|
||||
];
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
async isMobile() {
|
||||
await this.$nextTick();
|
||||
this.handleChangeMode(
|
||||
this.currentMode,
|
||||
luxon.DateTime.fromISO(this.currentDay, {
|
||||
zone: this.timezone,
|
||||
}),
|
||||
);
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
loadLvPlan() {
|
||||
if (!this.formData.stgkz) {
|
||||
|
||||
Reference in New Issue
Block a user