Merge "amis-saas-7346 [Story] switch描述文案展示修复" into pre-release

This commit is contained in:
zhuwei11 2022-09-30 17:14:53 +08:00 committed by iCode
commit 18f6aa01cf
3 changed files with 20 additions and 5 deletions

View File

@ -491,7 +491,10 @@ export class ComboControlPlugin extends BasePlugin {
label: '懒加载',
pipeIn: defaultValue(false),
labelRemark: {
type: 'remark',
className: 'm-l-xs',
trigger: 'click',
rootClose: true,
placement: 'left',
content: '如果数据比较多,比较卡顿时,可开启此配置项。'
}
}),
@ -501,7 +504,10 @@ export class ComboControlPlugin extends BasePlugin {
label: '严格模式',
pipeIn: defaultValue(true),
labelRemark: {
type: 'remark',
className: 'm-l-xs',
trigger: 'click',
rootClose: true,
placement: 'left',
content: '如果你希望环境变量的值实时透传到 Combo 中,请关闭此选项。'
}
}),
@ -522,7 +528,10 @@ export class ComboControlPlugin extends BasePlugin {
label: '允许为空',
pipeIn: defaultValue(false),
labelRemark: {
type: 'remark',
className: 'm-l-xs',
trigger: 'click',
rootClose: true,
placement: 'left',
content: '如果子表单项里面配置验证器,且又是单条模式。可以允许用户选择清空(不填)。'
}
}),

View File

@ -97,7 +97,10 @@ export class StaticControlPlugin extends BasePlugin {
label: '立即保存',
visibleOn: 'data.quickEdit',
labelRemark: {
type: 'remark',
className: 'm-l-xs',
trigger: 'click',
rootClose: true,
placement: 'left',
content: '开启后修改即提交,而不是标记修改批量提交。'
},
pipeIn: (value: any) => !!value

View File

@ -63,7 +63,10 @@ export class VideoPlugin extends BasePlugin {
name: 'isLive',
label: '直播流',
labelRemark: {
type: 'remark',
className: 'm-l-xs',
trigger: 'click',
rootClose: true,
placement: 'left',
content: '如果是直播流,请勾选,否则有可能不能正常播放。'
}
})