mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 04:27:04 +00:00
refactor: action panel support using in popup (#5341)
This commit is contained in:
parent
8068707d63
commit
0ddb548435
@ -44,6 +44,12 @@ export class PluginBlockWorkbenchClient extends Plugin {
|
||||
`otherBlocks.${workbenchBlockInitializerItem.name}`,
|
||||
workbenchBlockInitializerItem,
|
||||
);
|
||||
// 添加到弹窗的 Add block 里
|
||||
this.app.schemaInitializerManager.addItem(
|
||||
'popup:common:addBlock',
|
||||
`otherBlocks.${workbenchBlockInitializerItem.name}`,
|
||||
workbenchBlockInitializerItem,
|
||||
);
|
||||
|
||||
// 添加到移动端的 Add block 里
|
||||
this.app.schemaInitializerManager.addItem(
|
||||
|
Loading…
Reference in New Issue
Block a user