fix: 复选框 & 树组件配置面板补充“自定义选项模板”配置

This commit is contained in:
wutong25 2023-10-10 16:41:40 +08:00
parent 9b6aab46ba
commit 38bb7a1e6c
3 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -439,6 +439,10 @@ export class TreeControlPlugin extends BasePlugin {
label: '数据', label: '数据',
showIconField: true showIconField: true
}), }),
// 自定义选项模板
getSchemaTpl('optionsMenuTpl', {
manager: this.manager
}),
getSchemaTpl( getSchemaTpl(
'loadingConfig', 'loadingConfig',
{ {

View File

@ -436,6 +436,10 @@ export class TreeSelectControlPlugin extends BasePlugin {
label: '数据', label: '数据',
showIconField: true showIconField: true
}), }),
// 自定义选项模板
getSchemaTpl('optionsMenuTpl', {
manager: this.manager
}),
getSchemaTpl( getSchemaTpl(
'loadingConfig', 'loadingConfig',
{ {