mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix(formula): 修正 (#4456)
This commit is contained in:
parent
662ab637ba
commit
dfd59cb5d3
@ -169,7 +169,7 @@ export function formulaExec(
|
||||
// 非字符串类型,直接返回,比如:boolean、number类型、Object、Array类型
|
||||
return value;
|
||||
} else if (curExecMode && FormulaExec[curExecMode]) {
|
||||
return FormulaExec[curExecMode];
|
||||
return FormulaExec[curExecMode](value, data);;
|
||||
}
|
||||
|
||||
const curValue = value.trim(); // 剔除前后空格
|
||||
|
Loading…
Reference in New Issue
Block a user