Доделки SearchPage
This commit is contained in:
@@ -61,8 +61,7 @@ class SearchPage extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async init(parsed) {
|
async init(parsed) {
|
||||||
this.parsed = parsed;
|
if (this.parsed != parsed) {
|
||||||
|
|
||||||
this.initStep = true;
|
this.initStep = true;
|
||||||
this.stopInit = false;
|
this.stopInit = false;
|
||||||
this.header = 'Подготовка';
|
this.header = 'Подготовка';
|
||||||
@@ -89,6 +88,11 @@ class SearchPage extends Vue {
|
|||||||
}
|
}
|
||||||
this.text = text.toLowerCase();
|
this.text = text.toLowerCase();
|
||||||
this.initStep = false;
|
this.initStep = false;
|
||||||
|
this.needle = '';
|
||||||
|
this.foundList = [];
|
||||||
|
this.foundCur = -1;
|
||||||
|
this.parsed = parsed;
|
||||||
|
}
|
||||||
|
|
||||||
this.header = 'Найти';
|
this.header = 'Найти';
|
||||||
await this.$nextTick();
|
await this.$nextTick();
|
||||||
|
|||||||
Reference in New Issue
Block a user