feat(editor): 组件高级配置中添加display

This commit is contained in:
roymondchen 2025-05-13 16:31:14 +08:00
parent 054d12601b
commit e0d5efb022

View File

@ -128,12 +128,21 @@ export const advancedTabConfig: TabPaneConfig = {
text: 'created',
labelPosition: 'top',
type: 'code-select',
extra: '组件初始化时执行',
},
{
name: 'mounted',
text: 'mounted',
labelPosition: 'top',
type: 'code-select',
extra: '组件挂载到dom时执行',
},
{
name: 'display',
text: 'display',
extra: '控制组件是否渲染关系的代码块返回值为false时不渲染',
labelPosition: 'top',
type: 'code-select',
},
],
};