fix:参数修改

This commit is contained in:
2026-03-13 11:17:27 +08:00
parent 589b9ce9ac
commit 8683fa2b01

View File

@@ -336,7 +336,7 @@ const addSimulationKeyResultFun = async (file: any) => {
keyResultType: 2,
onlyFile: true,
};
const obj = {
const obj: any = {
xQuantityType: '',
xUnits: '',
yQuantityType: '',
@@ -345,7 +345,7 @@ const addSimulationKeyResultFun = async (file: any) => {
try {
const res: any = await addSimulationKeyResultApi(param);
if (res && res.code === 200) {
obj.xQuantityType = res.data?.xPhysic;
obj.xQuantityType = res.data?.xPhysics;
obj.xUnits = res.data?.xUnit;
obj.yQuantityType = res.data?.yPhysics;
obj.yUnits = res.data?.yUnit;