优化JS通过字段属性中的SQL查询数据库的输出结果
This commit is contained in:
parent
6083594c27
commit
7d665ee664
@ -27,7 +27,7 @@ async function selectByFieldPropSyn(SFP_myJSON) {
|
||||
try {
|
||||
let postObj = JSON.parse(SFP_myJSON);
|
||||
const response = await $.post("/api/workflow/linkage/reqFieldSqlResult", postObj);
|
||||
return response;
|
||||
return JSON.parse(response);
|
||||
} catch (error) {
|
||||
console.error('Error:', error);
|
||||
return undefined;
|
||||
|
Loading…
x
Reference in New Issue
Block a user