Переход на Vue 3, в процессе
This commit is contained in:
@@ -279,7 +279,7 @@ class Reader {
|
||||
this.reader = this.$store.state.reader;
|
||||
this.config = this.$store.state.config;
|
||||
|
||||
this.$root.addKeyHook(this.keyHook);
|
||||
this.$root.addEventHook('key', this.keyHook);
|
||||
|
||||
this.lastActivePage = false;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
:data="tableData"
|
||||
:columns="columns"
|
||||
row-key="key"
|
||||
:pagination.sync="pagination"
|
||||
v-model:pagination="pagination"
|
||||
separator="cell"
|
||||
hide-bottom
|
||||
virtual-scroll
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user