This commit is contained in:
zlwu committed 2026-08-08 20:43:48 +08:00
1 parent 2df2ef0808
commit 683f14828f
388 files changed
+2738488 -81306

No files matched your search

+8
View File
@@ -26,3 +26,11 @@ export function fetchRemoveMenuFavorite(path: string) {
data: { path }
})
}
/** 按 paths 完整顺序重排收藏(须与当前收藏集合一致) */
export function fetchReorderMenuFavorites(paths: string[]) {
return request.put<MenuFavoriteItem[]>({
url: '/web/admin/menu-favorites/order',
data: { paths }
})
}