amis-saas-8231 [Bug] list-select 组件默认值样式

Change-Id: Ic7295f8e804b328b7668877f2d9adb67d2f0a550
This commit is contained in:
jiatianqi 2022-11-21 19:15:07 +08:00
parent 9cfe1036ea
commit 9db07a9c8c

View File

@ -112,6 +112,7 @@ export class ListControlPlugin extends BasePlugin {
getSchemaTpl('extractValue'),
getSchemaTpl('valueFormula', {
rendererSchema: context?.schema,
mode: 'vertical',
useSelectMode: true, // 改用 Select 设置模式
visibleOn: 'this.options && this.options.length > 0'
})