udpate
parent
4a7dd980bd
commit
a7443c485a
|
@ -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%;
|
||||
|
|
Loading…
Reference in New Issue