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

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

View File

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

View File

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