优化结构

This commit is contained in:
Yvan
2026-08-28 16:56:10 +08:00
parent 6f9908d926
commit b370089942
11 changed files with 65 additions and 49 deletions
@@ -326,7 +326,6 @@
// 添加子节点
const addChildNode = (parentNode) => {
console.log(parentNode)
type.value = 'create'
formData.value = {
label: null,
@@ -563,7 +563,6 @@ const getMenuAndApiList = async () => {
// 获取API列表
const apiRes = await getApiList({ page: 1, pageSize: 9999 })
if (apiRes.code === 0) {
console.log('原始API数据:', apiRes.data)
const apis = apiRes.data.list || []
apiTreeData.value = buildApiTree(apis)
}