修复了多文件编辑时,新增文件后没反应的问题

This commit is contained in:
猴赛雷 2024-06-04 16:18:44 +08:00
parent 8439a35caf
commit d3e47fad53
2 changed files with 5 additions and 5 deletions

View File

@ -214,7 +214,7 @@ export default {
new DDeiSheet({ new DDeiSheet({
name: "页面-1", name: "页面-1",
desc: "页面-1", desc: "页面-1",
stage: DDeiStage.initByJSON({ id: "stage_1" }), stage: DDeiStage.initByJSON({ id: "stage_1" }, { currentDdInstance :ddInstance}),
active: DDeiActiveType.ACTIVE, active: DDeiActiveType.ACTIVE,
}), }),
], ],

View File

@ -213,10 +213,10 @@ export default defineComponent({
<template> <template>
<!--<DDeiEditorView ref="editorViewer1" :options="options" id="ddei_editor_1"></DDeiEditorView> <DDeiEditorView ref="editorViewer1" :options="options" id="ddei_editor_1"></DDeiEditorView>
<!--
<DDeiEditorView ref="editorViewer2" :options="options1" id="ddei_editor_2"></DDeiEditorView> <DDeiEditorView ref="editorViewer2" :options="options1" id="ddei_editor_2"></DDeiEditorView>
-->
<div style="width:400px;height:400px;float:left"> <div style="width:400px;height:400px;float:left">
<DDeiEditorView ref="editorViewer3" :options="options2" id="ddei_editor_3"></DDeiEditorView> <DDeiEditorView ref="editorViewer3" :options="options2" id="ddei_editor_3"></DDeiEditorView>
</div> </div>
@ -226,7 +226,7 @@ export default defineComponent({
<textarea :value="jsontext" <textarea :value="jsontext"
style="border:1px solid grey;margin-left:5px;padding:5px;width:100%;height:100%"></textarea> style="border:1px solid grey;margin-left:5px;padding:5px;width:100%;height:100%"></textarea>
</div> </div>
<!--
<div style="width:500px;height:500px;float:left"> <div style="width:500px;height:500px;float:left">
<DDeiEditorView ref="editorViewer4" :options="options3" id="ddei_editor_4"></DDeiEditorView> <DDeiEditorView ref="editorViewer4" :options="options3" id="ddei_editor_4"></DDeiEditorView>
</div> </div>