Доделки SearchPage

This commit is contained in:
Book Pauk
2019-02-02 18:22:00 +07:00
parent f74f44822e
commit 0276bcb8b3

View File

@@ -61,8 +61,7 @@ class SearchPage extends Vue {
}
async init(parsed) {
this.parsed = parsed;
if (this.parsed != parsed) {
this.initStep = true;
this.stopInit = false;
this.header = 'Подготовка';
@@ -89,6 +88,11 @@ class SearchPage extends Vue {
}
this.text = text.toLowerCase();
this.initStep = false;
this.needle = '';
this.foundList = [];
this.foundCur = -1;
this.parsed = parsed;
}
this.header = 'Найти';
await this.$nextTick();