线路图监控画布调整

This commit is contained in:
joylink_zhaoerwei 2023-08-01 13:19:56 +08:00
parent 5085de4d6d
commit 6a5bed588f

View File

@ -1,8 +1,9 @@
<template>
<q-layout view="hHh LpR fFf">
<q-layout view="hHh LpR fFf" style="overflow-y: hidden">
<q-drawer side="right" v-model="drawerRight" show-if-above bordered>
<state-properties></state-properties>
</q-drawer>
<q-resize-observer @resize="onResize" />
<q-page-container>
<div id="line-app-container"></div>
</q-page-container>
@ -55,7 +56,7 @@ function onResize() {
const dom = document.getElementById('line-app-container');
if (dom) {
dom.style.width = props.sizeWidth + 'px';
dom.style.height = props.sizeHeight + 'px';
dom.style.height = props.sizeHeight + 50 + 'px';
}
const lineApp = getLineApp();
if (lineApp) {