修改海南测试问题

This commit is contained in:
GGJ
2024-11-21 11:36:36 +08:00
parent 5b0e94cf68
commit 94ac7ee227
11 changed files with 99 additions and 99 deletions

View File

@@ -28,7 +28,7 @@
:auto-upload="false"
>
<template #trigger>
<el-button icon="el-icon-Upload" type="primary" class="mr10">上传接线图</el-button>
<el-button icon="el-icon-Upload" type="primary" class="mr10 ml10">上传接线图</el-button>
</template>
</el-upload>
<el-button icon="el-icon-Download" type="primary" @click="exportEvent">生成</el-button>
@@ -81,7 +81,10 @@ provide('tableStore', tableStore)
onMounted(() => {
const dom = document.getElementById('navigation-splitpanes')
if (dom) {
console.log("🚀 ~ onMounted ~ dom.offsetHeight:", dom.offsetHeight)
size.value = Math.round((180 / dom.offsetHeight) * 100)
}
})