master
zhaoqiang 2024-07-16 00:34:12 +08:00
parent 4a7dd980bd
commit a7443c485a
1 changed files with 4 additions and 4 deletions

View File

@ -645,7 +645,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 () {
@ -679,7 +679,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");
@ -1745,8 +1745,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%;