更新 widgets-form-factory.js

This commit is contained in:
钟进 2020-07-10 06:13:03 +00:00
parent 758b6d16bd
commit 28b53b42b3

View File

@ -20,7 +20,7 @@ var dataMap = {
formula_mini: {
labelTranslationKey: 'editor.widgets.widgets-form.type.formula',
iconTemplate: require('builder/editor/widgets/widget-icon-formula.tpl'),
Class: require('./schema/widgets-form-formula-schema-model'),
Class: require('./schema/widgets-form-formula_mini-schema-model'),
checkIfValid: function (querySchemaModel) {
return querySchemaModel.columnsCollection.any(function (m) {
return m.get('type') === 'number';