mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 17:31:18 +08:00
amis-saas-6892 [Feature] select组件示例代码
Change-Id: I4e782b8285bf3257d9fc1b6158c8efb3e72c4f20
This commit is contained in:
parent
f7e65080e5
commit
65dd84ba23
@ -247,7 +247,12 @@ export class SelectControlPlugin extends BasePlugin {
|
||||
title: '选项',
|
||||
body: [
|
||||
getSchemaTpl('optionControlV2'),
|
||||
getSchemaTpl('menuTpl'),
|
||||
// 模板
|
||||
getSchemaTpl('optionsMenuTpl', {
|
||||
that: this,
|
||||
context: context,
|
||||
onChange: (value: any) => {}
|
||||
}),
|
||||
getSchemaTpl('creatable', {
|
||||
formType: 'extend',
|
||||
hiddenOnDefault: true,
|
||||
|
@ -180,11 +180,12 @@ export class StatusControl extends React.Component<
|
||||
]
|
||||
},
|
||||
{
|
||||
type: 'ae-formulaControl',
|
||||
name: 'expression',
|
||||
type: 'ae-expressionFormulaControl',
|
||||
label: '表达式',
|
||||
name: 'expression',
|
||||
placeholder: `请输入${label}条件`,
|
||||
visibleOn: 'this.statusType === 2'
|
||||
visibleOn: 'this.statusType === 2',
|
||||
onChange: (value: any) => {}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user