Поправлен баг

This commit is contained in:
Book Pauk
2022-10-31 14:11:49 +07:00
parent 39dc7647bc
commit 26340bf061

View File

@@ -325,9 +325,12 @@ const componentOptions = {
deep: true,
},
selectedList(newValue) {
if (this.selectedListComponent) {
this.pageCount = 1;
this.list.totalFound = 0;
}
this.selectedListComponent = (route2component[newValue] ? route2component[newValue].component : null);
this.pageCount = 1;
this.list.totalFound = 0;
if (this.getListRoute() != newValue) {
this.updateRouteQueryFromSearch();