amis-saas-7346 [Story] switch描述文案展示修复

Change-Id: I0bcba892d1f29dd1b0d89a5f8f48ab9ed99c2727
This commit is contained in:
zhuwei11 2022-09-30 17:12:04 +08:00
parent 619537b1be
commit 9a2b1175bd
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: '如果是直播流,请勾选,否则有可能不能正常播放。'
}
})