refactor: 项目重构

This commit is contained in:
Ray.Hao
2025-05-24 07:35:46 +08:00
parent cfe041d7d2
commit 32686ad807
51 changed files with 1201 additions and 696 deletions

View File

@@ -40,7 +40,7 @@ const MenuAPI = {
return request<any, OptionType[]>({
url: `${MENU_BASE_URL}/options`,
method: "get",
params: { onlyParent: onlyParent },
params: { onlyParent },
});
},
@@ -66,7 +66,7 @@ const MenuAPI = {
return request({
url: `${MENU_BASE_URL}`,
method: "post",
data: data,
data,
});
},
@@ -81,7 +81,7 @@ const MenuAPI = {
return request({
url: `${MENU_BASE_URL}/${id}`,
method: "put",
data: data,
data,
});
},