merge: import helix-web history into helix-web/
git-subtree-dir: helix-web git-subtree-mainline:21f14f8c05git-subtree-split:83f3120fdc
This commit is contained in:
commit
c732624580
82 files changed
+6483
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import webClient from "@/client/web-client"
|
||||
import type { TreeNode } from "@/types/tree"
|
||||
import type { MenuItem } from "@/types/entity"
|
||||
|
||||
export async function fetchMenuTree() {
|
||||
const { data } = await webClient.get<TreeNode<MenuItem>[]>("/menus")
|
||||
return data
|
||||
}
|
||||
Reference in new issue
Block a user