fix: Model-Driven and Template Center Entry Shielding (#1707)
This commit is contained in:
parent
a6e30fe5ec
commit
bea520c5bb
|
|
@ -41,7 +41,7 @@ import {
|
|||
Datasource,
|
||||
Robot,
|
||||
Resource,
|
||||
ModelManager,
|
||||
// ModelManager,
|
||||
Props,
|
||||
Events,
|
||||
Styles,
|
||||
|
|
@ -51,9 +51,9 @@ import {
|
|||
GlobalService,
|
||||
ThemeSwitchService,
|
||||
HttpService,
|
||||
McpService,
|
||||
ApplicationCenter,
|
||||
TemplateCenter
|
||||
McpService
|
||||
// ApplicationCenter,
|
||||
// TemplateCenter
|
||||
} from './re-export'
|
||||
|
||||
window.__TINY_ENGINE_REMOVED_REGISTRY = {}
|
||||
|
|
@ -166,8 +166,8 @@ export default {
|
|||
__TINY_ENGINE_REMOVED_REGISTRY['engine.plugins.schema'] === false ? null : Schema,
|
||||
__TINY_ENGINE_REMOVED_REGISTRY['engine.plugins.editorhelp'] === false ? null : Help,
|
||||
__TINY_ENGINE_REMOVED_REGISTRY['engine.plugins.robot'] === false ? null : Robot,
|
||||
__TINY_ENGINE_REMOVED_REGISTRY['engine.plugins.resource'] === false ? null : Resource,
|
||||
__TINY_ENGINE_REMOVED_REGISTRY['engine.plugins.modelmanager'] === false ? null : ModelManager
|
||||
__TINY_ENGINE_REMOVED_REGISTRY['engine.plugins.resource'] === false ? null : Resource
|
||||
// __TINY_ENGINE_REMOVED_REGISTRY['engine.plugins.modelmanager'] === false ? null : ModelManager
|
||||
],
|
||||
settings: [
|
||||
__TINY_ENGINE_REMOVED_REGISTRY['engine.setting.props'] === false ? null : Props,
|
||||
|
|
@ -175,8 +175,8 @@ export default {
|
|||
__TINY_ENGINE_REMOVED_REGISTRY['engine.setting.event'] === false ? null : Events
|
||||
],
|
||||
workspace: [
|
||||
__TINY_ENGINE_REMOVED_REGISTRY['engine.workspace.application-center'] === false ? null : ApplicationCenter,
|
||||
__TINY_ENGINE_REMOVED_REGISTRY['engine.workspace.template-center'] === false ? null : TemplateCenter
|
||||
// __TINY_ENGINE_REMOVED_REGISTRY['engine.workspace.application-center'] === false ? null : ApplicationCenter,
|
||||
// __TINY_ENGINE_REMOVED_REGISTRY['engine.workspace.template-center'] === false ? null : TemplateCenter
|
||||
],
|
||||
canvas: Canvas
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export default {
|
|||
width: 600,
|
||||
widthResizable: true,
|
||||
options: {
|
||||
enableAICompletion: true
|
||||
enableAICompletion: false
|
||||
},
|
||||
confirm: 'close' // 当点击插件栏切换或关闭前是否需要确认, 会调用插件中confirm值指定的方法,e.g. 此处指向 close方法,会调用插件的close方法执行确认逻辑
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue