2023-11-6-1
This commit is contained in:
@@ -245,18 +245,6 @@ export default defineComponent({
|
||||
window.removeEventListener('beforeunload',beforeunload)
|
||||
}
|
||||
window.addEventListener('beforeunload',beforeunload)
|
||||
let onresizeTime:any
|
||||
let this_ = this
|
||||
window.onresize = () => {
|
||||
return (() => {
|
||||
clearTimeout(onresizeTime)
|
||||
onresizeTime = setTimeout(async ()=>{
|
||||
await this_.setImgSize()
|
||||
},500)
|
||||
|
||||
})()
|
||||
}
|
||||
|
||||
let userInfo:any = getCookie("userInfo")
|
||||
this.userInfo = JSON.parse(userInfo);
|
||||
// let url = Https.httpUrls.getDesignDetail + `?designItemId=34242&designPythonOutfitId=34004`
|
||||
@@ -408,6 +396,17 @@ export default defineComponent({
|
||||
height:body.layersObject[0].imageSize?.[1]*ratio+'px',
|
||||
}
|
||||
}
|
||||
let onresizeTime:any
|
||||
let this_ = this
|
||||
window.onresize = () => {
|
||||
return (() => {
|
||||
clearTimeout(onresizeTime)
|
||||
onresizeTime = setTimeout(async ()=>{
|
||||
await this_.setImgSize()
|
||||
},500)
|
||||
|
||||
})()
|
||||
}
|
||||
this.frontBack = {
|
||||
front:front,
|
||||
back:back,
|
||||
|
||||
Reference in New Issue
Block a user