diff --git a/packages/amis-editor/src/plugin/Form/Combo.tsx b/packages/amis-editor/src/plugin/Form/Combo.tsx index fb38ce80c..be97450e9 100644 --- a/packages/amis-editor/src/plugin/Form/Combo.tsx +++ b/packages/amis-editor/src/plugin/Form/Combo.tsx @@ -490,14 +490,20 @@ export class ComboControlPlugin extends BasePlugin { name: 'lazyLoad', label: '懒加载', pipeIn: defaultValue(false), - description: '如果数据比较多,比较卡顿时,可开启此配置项' + labelRemark: { + type: 'remark', + content: '如果数据比较多,比较卡顿时,可开启此配置项。' + } }), getSchemaTpl('switch', { name: 'strictMode', label: '严格模式', pipeIn: defaultValue(true), - description: '如果你希望环境变量的值实时透传到 Combo 中,请关闭此选项。' + labelRemark: { + type: 'remark', + content: '如果你希望环境变量的值实时透传到 Combo 中,请关闭此选项。' + } }), { @@ -515,8 +521,10 @@ export class ComboControlPlugin extends BasePlugin { name: 'nullable', label: '允许为空', pipeIn: defaultValue(false), - description: - '如果子表单项里面配置验证器,且又是单条模式。可以允许用户选择清空(不填)。' + labelRemark: { + type: 'remark', + content: '如果子表单项里面配置验证器,且又是单条模式。可以允许用户选择清空(不填)。' + } }), { diff --git a/packages/amis-editor/src/plugin/Form/Static.tsx b/packages/amis-editor/src/plugin/Form/Static.tsx index 5c85e6745..02b7c56f1 100644 --- a/packages/amis-editor/src/plugin/Form/Static.tsx +++ b/packages/amis-editor/src/plugin/Form/Static.tsx @@ -96,8 +96,10 @@ export class StaticControlPlugin extends BasePlugin { name: 'quickEdit.saveImmediately', label: '立即保存', visibleOn: 'data.quickEdit', - description: '开启后修改即提交,而不是标记修改批量提交。', - descriptionClassName: 'help-block m-b-none', + labelRemark: { + type: 'remark', + content: '开启后修改即提交,而不是标记修改批量提交。' + }, pipeIn: (value: any) => !!value }), getSchemaTpl('apiControl', { diff --git a/packages/amis-editor/src/plugin/Video.tsx b/packages/amis-editor/src/plugin/Video.tsx index 8a13f99f7..67af1fced 100644 --- a/packages/amis-editor/src/plugin/Video.tsx +++ b/packages/amis-editor/src/plugin/Video.tsx @@ -62,7 +62,10 @@ export class VideoPlugin extends BasePlugin { getSchemaTpl('switch', { name: 'isLive', label: '直播流', - description: '如果是直播流,请勾选,否则有可能不能正常播放。' + labelRemark: { + type: 'remark', + content: '如果是直播流,请勾选,否则有可能不能正常播放。' + } }) ] },