修改loding样式

This commit is contained in:
X1627315083@163.com
2026-04-16 15:58:22 +08:00
parent 646ecd072c
commit ddb7a366b5
4 changed files with 29 additions and 13 deletions

View File

@@ -233,10 +233,10 @@ export default defineComponent({
let sketchH = editPrintElementData.sketchWH.height * editPrintElementData.sketchWH.scale[1]
let x = sketchW / 2 - (sketchW * (width / editPrintElementData.sketchWH.width)/2)
let y = sketchH / 2 -(sketchH * height/2)
if(editPrintElementData.stateOverallSingle !== 'single'){
x = sketchW / 2
y = sketchH / 2
}
// if(editPrintElementData.stateOverallSingle !== 'single'){
// x = sketchW / 2
// y = sketchH / 2
// }
let location = [x,y]
resolve({scale,location})
}