2023-11-27-dist

This commit is contained in:
X1627315083
2023-11-27 16:51:53 +08:00
parent d978b75286
commit d206509d93
7 changed files with 11 additions and 13 deletions

View File

@@ -492,7 +492,7 @@ export default defineComponent({
let sketch = document.getElementsByClassName("designOpenrtion_modal")[0]?.getElementsByClassName('designOpenrtion_sketch')[0]
let width
let scale
if(this.print.width>this.print.height){
if(this.print.width<this.print.height){
width = Math.trunc(Math.random()*(sketch?.width-sketch?.width/2))+sketch?.width/3
scale = width / this.print.width.replace(/px/g,'')
}else{