草稿图显示控制及滚动条隐藏

This commit is contained in:
dong 2023-09-01 13:39:39 +08:00
parent f8778ab7fb
commit 2b1c7b235c
3 changed files with 5 additions and 4 deletions

View File

@ -318,7 +318,9 @@ export function initDrawApp(): IDrawApp {
}, },
}) })
); );
app.on('postdataloaded', () => {
initShowLayer(app); initShowLayer(app);
});
return drawApp; return drawApp;
} }
@ -497,7 +499,6 @@ export async function loadLinkDatas(app: IDrawApp) {
g.loadData(linkData); g.loadData(linkData);
app.addGraphics(g); app.addGraphics(g);
}); });
initShowLayer(app);
} }
function initShowLayer(app: IDrawApp) { function initShowLayer(app: IDrawApp) {

View File

@ -195,7 +195,7 @@
</q-drawer> </q-drawer>
<q-page-container> <q-page-container>
<div id="draw-app-container"></div> <div id="draw-app-container" class="overflow-hidden"></div>
</q-page-container> </q-page-container>
<q-dialog <q-dialog

View File

@ -25,7 +25,7 @@
</q-drawer> </q-drawer>
<q-resize-observer @resize="onResize" /> <q-resize-observer @resize="onResize" />
<q-page-container> <q-page-container>
<div id="line-app-container"></div> <div id="line-app-container" class="overflow-hidden"></div>
</q-page-container> </q-page-container>
</q-layout> </q-layout>
</template> </template>