From 7a68b93079af8748bb7468dbc393fdc9c37dbc08 Mon Sep 17 00:00:00 2001
From: zhaoqiang <2117596534@qq.com>
Date: Mon, 15 Jul 2024 23:57:44 +0800
Subject: [PATCH] update
---
src/views/pages/OpticalStoragePage/index.vue | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/pages/OpticalStoragePage/index.vue b/src/views/pages/OpticalStoragePage/index.vue
index 5fa9633..b56de40 100644
--- a/src/views/pages/OpticalStoragePage/index.vue
+++ b/src/views/pages/OpticalStoragePage/index.vue
@@ -269,7 +269,7 @@
-
+
@@ -541,7 +541,7 @@ let handleShowSvg = async (svgIndex: string) => {
draw = SVG(SVGContainer.value.getElementsByTagName('svg')[0])
let s = draw.panZoom({ zoomMin: 0.1, zoomMax: 30, zoomFactor: 0.5 })
draw.size('100%', '100%')
- draw.zoom(0.189)
+ draw.zoom(1)
// 设置文字为白色
draw.find('text').each(function () {
@@ -573,7 +573,7 @@ let handleCustomLine = (svgHtml, result) => {
draw = SVG(SVGContainer.value.getElementsByTagName('svg')[0])
let s = draw.panZoom({ zoomMin: 0.1, zoomMax: 30, zoomFactor: 0.5 })
draw.size('100%', '100%')
- draw.zoom(0.189)
+ draw.zoom(0.5)
console.log(result, 'result')
let polyline = draw.find('polyline')
@@ -1546,8 +1546,8 @@ const styleVar = computed(() => {
}
:deep(.el-dialog) {
// position: absolute;
- width: changeHeight(2420);
- height: changeHeight(1580);
+ width: changeHeight(3100);
+ height: changeHeight(1700);
// top: 10%;
// top: 50%;
// left: 50%;