暴露 validate

This commit is contained in:
2betop 2020-06-12 16:12:12 +08:00
parent 7d5a61593a
commit cf771c571f

View File

@ -155,7 +155,7 @@ import {
resolveVariable,
resolveVariableAndFilter
} from './utils/tpl-builtin';
import {addRule, str2rules} from './utils/validations';
import {addRule, str2rules, validate} from './utils/validations';
import {normalizeOptions} from './components/Select';
import {OptionsControl} from './renderers/Form/Options';
@ -204,6 +204,7 @@ export {
registerIcon,
Scoped,
ScopedContext,
validate,
setDefaultTheme,
theme,
getTheme,