扩展构建流程中参数数组的显示问题

好像扩展构建流程中的界面不能自定义面板,但是现在需要使用checkbox数组的面板,遇到了显示问题
QQ截图20210106154427
下面checkbox数组前面的label显示不出来,而且,好像也没有换行,这一行没有显示齐全。
代码如下

const fs = require('fs');

let Modules:Record<string, IConfigItem> = {};
const modulesFile = Editor.Project.path + "/extensions/lcc-framework/src/framework/modules.json";
if(fs.existsSync(modulesFile)){
    let modulesConfig = JSON.parse(fs.readFileSync(modulesFile, { encoding : 'utf-8' }));
    for(let module in modulesConfig){
        let config = modulesConfig[module];
        if(!config.base){
            Modules[module] = {
                label : module,
                default: true,
                render: {
                    ui: 'ui-checkbox',
                },
            }
        }
    }
}

export const configs: Record<string, IBuildPlugin> = {
    '*': {
        hooks: './hooks',
        options: {
            clip: {
                description: `是否需要启用框架裁剪功能,尽可能剔除未使用的模块`,
                label: '框架裁剪',
                default: true,
                render: {
                    ui: 'ui-checkbox',
                },
            },
            modules: {
                description: `框架保留的模块,如果启用裁剪功能`,
                label: '保留模块',
                type: 'array',
                itemConfigs : Modules
            },
        },
    },
};

还有就是能控制每一个option的显示和隐藏吗?能不能直接用panel控制,现在感觉限制太大了
还有个问题

clipMethod: {
                description: `裁剪方式(如果对框架的模块不太了解,建议'自动裁剪')`,
                label: '裁剪方式',
                default: 'auto',
                render: {
                    ui: 'ui-select',
                    attributes: {
                        items: [
                            {
                                label: '自动裁剪',
                                value: 'auto',
                            },
                            {
                                label: '自定义裁剪',
                                value: 'custom',
                            },
                        ],
                    },
                },
            },

这种ui-select 显示不了items。

items 不要放在 attributes ,放在它的同级就行了

array 目前确实支持起来是有问题的,可以先用 object 代替一下,可以先参考一下 polyfills 的写法。正式版会修复这个问题

            polyfills: {
                label: 'Polyfills',
                type: 'object',
                attributes: {
                    class: 'wrap',
                },
                default: {
                    asyncFunctions: true,
                },
                itemConfigs: {
                    asyncFunctions: {
                        label: 'asyncFunctions',
                        render: {
                            ui: 'ui-checkbox',
                        },
                    },
                    coreJs: {
                        label: 'coreJs',
                        render: {
                            ui: 'ui-checkbox',
                        },
                    },
                },
            }

这个 panel 我们其实是支持的,但是目前暂时还没有对外开放的打算,我们会综合考虑一下的。

谢谢引擎组大佬解答