fix: 修复inputNumber配置面板在配置校验触发规则没有生效的问题

This commit is contained in:
wutong25 2023-10-08 15:21:30 +08:00
parent eb1c2fd821
commit 1c605bd380

View File

@ -24,7 +24,7 @@ import {FormulaEditor} from 'amis-ui';
import FormulaPicker, {
CustomFormulaPickerProps
} from './textarea-formula/FormulaPicker';
import {autobind, translateSchema} from 'amis-editor-core';
import {JSONPipeOut, autobind, translateSchema} from 'amis-editor-core';
import type {
VariableItem,
@ -505,7 +505,7 @@ export default class FormulaControl extends React.Component<
return translateSchema(curRendererSchema, this.appCorpusData);
}
return curRendererSchema;
return JSONPipeOut(curRendererSchema);
}
@autobind