bangumi 按 id 降序

This commit is contained in:
Rewrite0
2023-05-30 21:09:12 +08:00
parent 34f849b4f3
commit c09642c680

View File

@@ -6,7 +6,7 @@ export const useBangumiStore = defineStore('bangumi', () => {
const getAll = async () => {
const res = await apiBangumi.getAll();
data.value = res;
data.value = res.sort((a, b) => b.id - a.id);
};
const updateRule = async (newRule: BangumiRule) => {