Поправлен баг
This commit is contained in:
@@ -325,9 +325,12 @@ const componentOptions = {
|
|||||||
deep: true,
|
deep: true,
|
||||||
},
|
},
|
||||||
selectedList(newValue) {
|
selectedList(newValue) {
|
||||||
|
if (this.selectedListComponent) {
|
||||||
|
this.pageCount = 1;
|
||||||
|
this.list.totalFound = 0;
|
||||||
|
}
|
||||||
|
|
||||||
this.selectedListComponent = (route2component[newValue] ? route2component[newValue].component : null);
|
this.selectedListComponent = (route2component[newValue] ? route2component[newValue].component : null);
|
||||||
this.pageCount = 1;
|
|
||||||
this.list.totalFound = 0;
|
|
||||||
|
|
||||||
if (this.getListRoute() != newValue) {
|
if (this.getListRoute() != newValue) {
|
||||||
this.updateRouteQueryFromSearch();
|
this.updateRouteQueryFromSearch();
|
||||||
|
|||||||
Reference in New Issue
Block a user