Merge "amis-saas-7346 [Story] switch描述文案展示修复+tooltip title字号调整" into pre-release

This commit is contained in:
zhuwei11 2022-09-30 16:02:50 +08:00 committed by iCode
commit 78e33d2a64
3 changed files with 20 additions and 7 deletions

View File

@ -490,14 +490,20 @@ export class ComboControlPlugin extends BasePlugin {
name: 'lazyLoad', name: 'lazyLoad',
label: '懒加载', label: '懒加载',
pipeIn: defaultValue(false), pipeIn: defaultValue(false),
description: '如果数据比较多,比较卡顿时,可开启此配置项' labelRemark: {
type: 'remark',
content: '如果数据比较多,比较卡顿时,可开启此配置项。'
}
}), }),
getSchemaTpl('switch', { getSchemaTpl('switch', {
name: 'strictMode', name: 'strictMode',
label: '严格模式', label: '严格模式',
pipeIn: defaultValue(true), pipeIn: defaultValue(true),
description: '如果你希望环境变量的值实时透传到 Combo 中,请关闭此选项。' labelRemark: {
type: 'remark',
content: '如果你希望环境变量的值实时透传到 Combo 中,请关闭此选项。'
}
}), }),
{ {
@ -515,8 +521,10 @@ export class ComboControlPlugin extends BasePlugin {
name: 'nullable', name: 'nullable',
label: '允许为空', label: '允许为空',
pipeIn: defaultValue(false), pipeIn: defaultValue(false),
description: labelRemark: {
'如果子表单项里面配置验证器,且又是单条模式。可以允许用户选择清空(不填)。' type: 'remark',
content: '如果子表单项里面配置验证器,且又是单条模式。可以允许用户选择清空(不填)。'
}
}), }),
{ {

View File

@ -96,8 +96,10 @@ export class StaticControlPlugin extends BasePlugin {
name: 'quickEdit.saveImmediately', name: 'quickEdit.saveImmediately',
label: '立即保存', label: '立即保存',
visibleOn: 'data.quickEdit', visibleOn: 'data.quickEdit',
description: '开启后修改即提交,而不是标记修改批量提交。', labelRemark: {
descriptionClassName: 'help-block m-b-none', type: 'remark',
content: '开启后修改即提交,而不是标记修改批量提交。'
},
pipeIn: (value: any) => !!value pipeIn: (value: any) => !!value
}), }),
getSchemaTpl('apiControl', { getSchemaTpl('apiControl', {

View File

@ -62,7 +62,10 @@ export class VideoPlugin extends BasePlugin {
getSchemaTpl('switch', { getSchemaTpl('switch', {
name: 'isLive', name: 'isLive',
label: '直播流', label: '直播流',
description: '如果是直播流,请勾选,否则有可能不能正常播放。' labelRemark: {
type: 'remark',
content: '如果是直播流,请勾选,否则有可能不能正常播放。'
}
}) })
] ]
}, },