mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-10 18:03:01 +00:00
feat(config): add defaultSettingPanelProps config
This commit is contained in:
parent
a560830db6
commit
6b14986e8f
@ -254,6 +254,16 @@ JSExpression 是否只支持使用 this 来访问上下文变量,假如需要
|
||||
|
||||
自定义 loading 组件
|
||||
|
||||
### 插件
|
||||
|
||||
#### defaultSettingPanelProps
|
||||
|
||||
内置设置面板插件的 panelProps
|
||||
|
||||
#### defaultOutlinePaneProps
|
||||
|
||||
内置大纲树面板插件的 panelProps
|
||||
|
||||
### 其他
|
||||
|
||||
#### enableStrictPluginMode
|
||||
@ -282,4 +292,3 @@ customPluginTransducer: async (originPlugin: IPublicTypePlugin, ctx: IPublicMode
|
||||
|
||||
大纲树插件面板默认 props
|
||||
|
||||
|
||||
|
||||
@ -28,6 +28,9 @@ export const defaultPanelRegistry = (editor: any) => {
|
||||
props: {
|
||||
ignoreRoot: true,
|
||||
},
|
||||
panelProps: {
|
||||
...(config.get('defaultSettingPanelProps') || {}),
|
||||
},
|
||||
});
|
||||
}
|
||||
},
|
||||
@ -39,5 +42,4 @@ export const defaultPanelRegistry = (editor: any) => {
|
||||
return fun;
|
||||
};
|
||||
|
||||
|
||||
export default defaultPanelRegistry;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user