fix: 修改风向bug

This commit is contained in:
2024-02-21 21:44:59 +08:00
parent 85dfecff84
commit 98799e8bcc
4 changed files with 23 additions and 12 deletions

View File

@@ -65,12 +65,12 @@ export const useModelSceneStore = defineStore("modelSceneData", () => {
})
.then((res) => {
console.log("res", res);
resolve();
resolve(res);
})
.catch((err) => {
console.log("res", err);
equipmentList.value.pop();
reject();
reject(err);
});
});
}
@@ -118,6 +118,7 @@ function handleSettingOtherConfig(otherConfig, requestOtherConfig) {
requestOtherConfig.tunnelId = otherConfig.tunnelId;
requestOtherConfig.tunnelLength = otherConfig.totalLength;
requestOtherConfig.tunnelName = otherConfig.tunnelName;
requestOtherConfig.tunnelAlias = otherConfig.tunnelAlias;
}
function autoComputeConstructionLength(modelEquipmentList, pointGap) {