A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物
Python agent-memoryfinancial-forecastingfuture-predictionknowledge-graphllmsmulti-agent-simulationpublic-opinion-analysispython3social-predictionswarm-intelligence
fix(Step2EnvSetup): update expectedTotal only when API returns a valid value to prevent overwriting existing data
666ghj0b71f89f96ab
diff --git a/frontend/src/components/Step2EnvSetup.vue b/frontend/src/components/Step2EnvSetup.vueindex 1e3a5abb..eae776aa 100644--- a/frontend/src/components/Step2EnvSetup.vue+++ b/frontend/src/components/Step2EnvSetup.vue@@ -914,7 +914,10 @@ const fetchProfilesRealtime = async () => {if (res.success && res.data) {const prevCount = profiles.value.lengthprofiles.value = res.data.profiles || []- expectedTotal.value = res.data.total_expected+ // 只有当 API 返回有效值时才更新,避免覆盖已有的有效值+ if (res.data.total_expected) {+ expectedTotal.value = res.data.total_expected+ }// 提取实体类型const types = new Set()