Переход на Vue 3, в процессе

This commit is contained in:
Book Pauk
2021-10-29 15:27:04 +07:00
parent 00cb2dc274
commit 76e09ef34e
7 changed files with 31 additions and 25 deletions

View File

@@ -149,7 +149,7 @@ class TextPage {
await this.doPageAnimation();
}, 10);
this.$root.$on('resize', async() => {
this.$root.addEventHook('resize', async() => {
this.$nextTick(this.onResize);
await utils.sleep(500);
this.$nextTick(this.onResize);