From e0d5efb02261069b48823cd8ce24232ea6f24b08 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Tue, 13 May 2025 16:31:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(editor):=20=E7=BB=84=E4=BB=B6=E9=AB=98?= =?UTF-8?q?=E7=BA=A7=E9=85=8D=E7=BD=AE=E4=B8=AD=E6=B7=BB=E5=8A=A0display?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/editor/src/utils/props.ts | 9 +++++++++ 1 file changed, 9 insertions(+) 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', }, ], };