diff --git a/packages/amis-editor/src/plugin/Form/InputRange.tsx b/packages/amis-editor/src/plugin/Form/InputRange.tsx index b4d84304a..a41abb3e7 100644 --- a/packages/amis-editor/src/plugin/Form/InputRange.tsx +++ b/packages/amis-editor/src/plugin/Form/InputRange.tsx @@ -204,8 +204,9 @@ export class RangeControlPlugin extends BasePlugin { value: 0 }, { - type: 'tpl', - tpl: '-' + type: 'html', + html: '-', + className: 'inputGroup-split-line' }, { type: 'input-number', diff --git a/packages/amis-editor/src/tpl/common.tsx b/packages/amis-editor/src/tpl/common.tsx index d942dbd8f..92d36f6e7 100644 --- a/packages/amis-editor/src/tpl/common.tsx +++ b/packages/amis-editor/src/tpl/common.tsx @@ -1002,6 +1002,7 @@ setSchemaTpl( visibleOn, label: '图标', type: 'icon-picker', + className: 'fix-icon-picker-overflow', placeholder: '点击选择图标', clearable: true, description: ''