This commit is contained in:
2024-09-25 11:54:53 +08:00
parent cfac396548
commit e263b19eaa
4 changed files with 7 additions and 1 deletions

View File

@@ -523,6 +523,7 @@ const sortTable = (e: any, key: string, sort: string, issoul = false) => {
else if (x[key] > y[key]) return -1;
else return 0;
});
tableDataSource.value = [...tableDataSource.value];
}
} else {
if (currentSort === sort && !issoul) {
@@ -536,6 +537,7 @@ const sortTable = (e: any, key: string, sort: string, issoul = false) => {
else if (x[key] > y[key]) return 1;
else return 0;
});
tableDataSource.value = [...tableDataSource.value];
}
}
};