diff --git a/src/api/menu.js b/src/api/menu.js
index 2e374afe7055427a7b3b16185ea5c1d5f0c6279d..aec243b996aa56e2b024517add25fa31b99416b0 100644
--- a/src/api/menu.js
+++ b/src/api/menu.js
@@ -16,6 +16,10 @@ export async function getMenuDataApi(useCache) {
});
}
+export function getMenuDetailApi(id) {
+ return getReq(`/api/v1/menus/${id}`);
+}
+
export function addMenuApi(data) {
return postReq('/api/v1/menus', data);
}
diff --git a/src/pages/system/view/menu/form.vue b/src/pages/system/view/menu/form.vue
index d31e6897029ba07149ba8760f64660ed7b8335fc..144b46f10209b3da7b745558f74ef560a3f413d9 100644
--- a/src/pages/system/view/menu/form.vue
+++ b/src/pages/system/view/menu/form.vue
@@ -10,10 +10,10 @@
-
+
-
+
@@ -31,7 +31,7 @@