1、解决‘No data fields’导致后续变量不能正常解析问题

This commit is contained in:
xuhong 2024-06-27 16:26:44 +08:00
parent 6c921a0e9f
commit b5da012622
1 changed files with 14 additions and 15 deletions

View File

@ -323,21 +323,20 @@ export function expandValue(variableCreate: Function, value: string, root: strin
evaluateName = getNamespace(name); evaluateName = getNamespace(name);
} }
// value = value.trim(); value = value.trim();
// if (value[0] == ',') if (value[0] == ',')
// { {
// var tmp = value var tmp = value
// tmp = tmp.substr(1).trim(); tmp = tmp.substr(1).trim();
// tmp = tmp.trim(); tmp = tmp.trim();
// if(tmp[0] == '{' && jsonVar == true){ if(tmp[0] == '{' && jsonVar == true){
// tmp = ",anonymous union = " + tmp; tmp = ",anonymous union = " + tmp;
// value = tmp; value = tmp;
// } }
// else if(tmp.startsWith("<No data fields>")){ else if(tmp.startsWith("<No data fields>")){
// value = tmp = tmp.substr("<No data fields>".length); value = tmp = tmp.substring("<No data fields>".length);
// } }
}
// }
return { return {
name: name, name: name,