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

View File

@ -1277,6 +1277,7 @@ const _sfc_main = defineComponent({
else
return 0;
});
tableDataSource.value = [...tableDataSource.value];
}
} else {
if (currentSort === sort && !issoul) {
@ -1293,6 +1294,7 @@ const _sfc_main = defineComponent({
else
return 0;
});
tableDataSource.value = [...tableDataSource.value];
}
}
};

View File

@ -40332,6 +40332,7 @@ const _sfc_main$D = defineComponent({
else
return 0;
});
tableDataSource.value = [...tableDataSource.value];
}
} else {
if (currentSort === sort && !issoul) {
@ -40348,6 +40349,7 @@ const _sfc_main$D = defineComponent({
else
return 0;
});
tableDataSource.value = [...tableDataSource.value];
}
}
};

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];
}
}
};

File diff suppressed because one or more lines are too long