mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-16 01:40:53 +08:00
amis-saas-6892 [Feature] 编辑器fx 交互优化
Change-Id: I66f0b1323d3cc05acac7664c31add6087edc0647
This commit is contained in:
parent
65efad9f8f
commit
6bc663f2c3
@ -217,8 +217,12 @@ export default class FormulaControl extends React.Component<
|
||||
return expression;
|
||||
}
|
||||
|
||||
@autobind
|
||||
inReplaceExpression(expression: any): any {
|
||||
return expression.replace(/\\\$\{/g, '${');
|
||||
if (expression && isString(expression)) {
|
||||
return expression.replace(/\\\$\{/g, '${');
|
||||
}
|
||||
return expression;
|
||||
}
|
||||
|
||||
// 根据 name 值 判断当前表达式是否 存在循环引用问题
|
||||
|
Loading…
Reference in New Issue
Block a user