mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
fix: page offset not reset when selected table changes
This commit is contained in:
@ -222,6 +222,7 @@ export default {
|
|||||||
watch: {
|
watch: {
|
||||||
table () {
|
table () {
|
||||||
if (this.isSelected) {
|
if (this.isSelected) {
|
||||||
|
this.page = 1;
|
||||||
this.sortParams = {};
|
this.sortParams = {};
|
||||||
this.getTableData();
|
this.getTableData();
|
||||||
this.lastTable = this.table;
|
this.lastTable = this.table;
|
||||||
|
Reference in New Issue
Block a user