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