Merge "fix: amis-saas-7233 测试:【组件】添加树下拉框,设计态下未开启可清除选项的配置,预览态选取选项后返回编辑态,可清除选项配置开启;(不符合预期)" into pre-release

This commit is contained in:
zhoushengqiang01 2022-10-13 20:24:20 +08:00 committed by iCode
commit 9497df94d4

View File

@ -23,6 +23,7 @@ export class TreeSelectControlPlugin extends BasePlugin {
type: 'tree-select',
label: '树下拉框',
name: 'tree-select',
clearable: false,
options: [
{
label: '选项A',
@ -252,6 +253,7 @@ export class TreeSelectControlPlugin extends BasePlugin {
panelBodyCreator = (context: BaseEventContext) => {
const renderer: any = context.info.renderer;
return getSchemaTpl('tabs', [
{
title: '属性',
@ -270,8 +272,7 @@ export class TreeSelectControlPlugin extends BasePlugin {
justify: true,
left: 8
},
inputClassName: 'is-inline ',
value: true
inputClassName: 'is-inline '
}),
getSchemaTpl('searchable'),
getSchemaTpl('multiple', {