mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-19 21:06:06 +08:00
feat(editor): 组件高级配置中添加display
This commit is contained in:
parent
054d12601b
commit
e0d5efb022
@ -128,12 +128,21 @@ export const advancedTabConfig: TabPaneConfig = {
|
|||||||
text: 'created',
|
text: 'created',
|
||||||
labelPosition: 'top',
|
labelPosition: 'top',
|
||||||
type: 'code-select',
|
type: 'code-select',
|
||||||
|
extra: '组件初始化时执行',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'mounted',
|
name: 'mounted',
|
||||||
text: 'mounted',
|
text: 'mounted',
|
||||||
labelPosition: 'top',
|
labelPosition: 'top',
|
||||||
type: 'code-select',
|
type: 'code-select',
|
||||||
|
extra: '组件挂载到dom时执行',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'display',
|
||||||
|
text: 'display',
|
||||||
|
extra: '控制组件是否渲染,关系的代码块返回值为false时不渲染',
|
||||||
|
labelPosition: 'top',
|
||||||
|
type: 'code-select',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user