变更
This commit is contained in:
@@ -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];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user