diff --git a/packages/editor/src/utils/props.ts b/packages/editor/src/utils/props.ts index 3633f1bb..fcfe47a4 100644 --- a/packages/editor/src/utils/props.ts +++ b/packages/editor/src/utils/props.ts @@ -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', }, ], };