This commit is contained in:
X1627315083
2024-01-10 17:40:11 +08:00
parent c43c73e270
commit d1891feb45

View File

@@ -418,6 +418,8 @@ export default defineComponent({
}
})
this.currentIndex = 0
await this.setImgSize()
this.store.commit('setDesignItemDetail',rv)
this.removeRevocation()
this.setRevocation(rv,'')
@@ -436,7 +438,7 @@ export default defineComponent({
this.designDetailShow = true
this.loadingShow = false
if(this.driver__.driver){
nextTick().then(()=>{
nextTick().then(()=>{
// driverObj__.moveNext();
driverObj__.moveTo(41);
})
@@ -471,6 +473,7 @@ export default defineComponent({
this.frontBack.body = item
}
});
console.log(2);
let ratio:any = await this?.setPostition(body?.layersObject?.[0]?.imageUrl)
if(Number.isNaN(ratio) || ratio == 0){
this.setImgSize()
@@ -523,6 +526,7 @@ export default defineComponent({
back:back,
body:body,
}
},
setDesignCoverage(str:string){
let {design,index,collectionList} = this.parentData