mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-07-05 19:47:32 +08:00
bangumi 按 id 降序
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user