mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
fix: 复选框 & 树组件配置面板补充“自定义选项模板”配置
This commit is contained in:
parent
9b6aab46ba
commit
38bb7a1e6c
@ -192,6 +192,10 @@ export class CheckboxesControlPlugin extends BasePlugin {
|
||||
getSchemaTpl('optionControlV2', {
|
||||
multiple: true
|
||||
}),
|
||||
// 自定义选项模板
|
||||
getSchemaTpl('optionsMenuTpl', {
|
||||
manager: this.manager
|
||||
}),
|
||||
/** 新增选项 */
|
||||
getSchemaTpl('optionAddControl', {
|
||||
manager: this.manager
|
||||
|
@ -439,6 +439,10 @@ export class TreeControlPlugin extends BasePlugin {
|
||||
label: '数据',
|
||||
showIconField: true
|
||||
}),
|
||||
// 自定义选项模板
|
||||
getSchemaTpl('optionsMenuTpl', {
|
||||
manager: this.manager
|
||||
}),
|
||||
getSchemaTpl(
|
||||
'loadingConfig',
|
||||
{
|
||||
|
@ -436,6 +436,10 @@ export class TreeSelectControlPlugin extends BasePlugin {
|
||||
label: '数据',
|
||||
showIconField: true
|
||||
}),
|
||||
// 自定义选项模板
|
||||
getSchemaTpl('optionsMenuTpl', {
|
||||
manager: this.manager
|
||||
}),
|
||||
getSchemaTpl(
|
||||
'loadingConfig',
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user