Planner: fix this.updatePlanPreviewDebounced is null (#28197)
This commit is contained in:
parent
b8553ec8f4
commit
d680fff9d0
1 changed files with 3 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ export default defineComponent({
|
|||
},
|
||||
},
|
||||
},
|
||||
mounted(): void {
|
||||
created(): void {
|
||||
this.updatePlanPreviewDebounced = debounceLeading(
|
||||
async () => await this.updatePreviewPlan(),
|
||||
300
|
||||
|
|
@ -216,6 +216,8 @@ export default defineComponent({
|
|||
async () => await this.updateActivePlan(),
|
||||
300
|
||||
);
|
||||
},
|
||||
mounted(): void {
|
||||
this.updatePlanDebounced();
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue