修复删除云应用报错

This commit is contained in:
weibl
2026-01-27 21:55:59 +08:00
parent 586eced182
commit f7cff78cef

View File

@@ -159,8 +159,11 @@ export const getNodeList = async (noload?: any) => {
// if (!noload) {
// apps[i].nodeParamConfigName = await getAppConfigListFun(apps[i].uuid);
// }
typeKeyArray[apps[i].appType]?.nodes?.push(apps[i]);
appList.push(apps[i]);
console.log('typeKeyArray[apps[i].appType]', typeKeyArray[apps[i].appType]);
if (typeKeyArray[apps[i].appType]) {
typeKeyArray[apps[i].appType].nodes.push(apps[i]);
appList.push(apps[i]);
}
}
}