fix:参数修改
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user