提交
This commit is contained in:
1 parent
2df2ef0808
commit
683f14828f
388 files changed
+2738488
-81306
No files matched your search
@@ -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 }
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user