detail单件加载问题修复

This commit is contained in:
X1627315083
2025-09-27 08:36:49 +08:00
parent 329660bccc
commit 63193bc044
2 changed files with 2 additions and 2 deletions

View File

@@ -220,6 +220,7 @@ export default defineComponent({
setRevocation()
if(rv.singleOverall == "single"){
store.commit('DesignDetail/setDesignColthes',rv.clothes[0].id)
modelOnLoad()
}

View File

@@ -18,7 +18,7 @@
</div>
</div>
<div class="designOpenrtion_imgMask" v-if="!frontBack?.body?.path">
<img :src="selectDetail?.undividedLayer || selectDetail?.path" style="object-fit: cover;" alt="">
<img :src="selectDetail?.undividedLayerWithSinglePrint || selectDetail?.undividedLayer || selectDetail?.path" style="object-fit: cover;" alt="">
<!-- <img @load="setSelectSketch()" :src="designDetail?.currentFullBodyView || selectDetail?.undividedLayer" style="object-fit: cover;" alt=""> -->
</div>
</div>
@@ -116,7 +116,6 @@ export default defineComponent({
// detailData.frontBack.back[index].style[key] = value*sacle+'px'
}
});
console.log(111,detailData.frontBack?.body?.path)
emit('modelOnLoad')
};
img.src = detailData.frontBack?.body?.path;