This commit is contained in:
X1627315083
2025-10-30 16:26:24 +08:00
parent 9baa3174c6
commit a7f109b928
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ const startGenerate = ()=>{
let value = { let value = {
customerId:generateStore.customerId, customerId:generateStore.customerId,
visitRecordId:generateStore.visitRecordId, visitRecordId:generateStore.visitRecordId,
styleId:generateStore.style.id, styleId:generateStore.styleId,
// customerPhotoId:null, // customerPhotoId:null,
// modelPhotoId:null, // modelPhotoId:null,
// prompt:null, // prompt:null,

View File

@@ -92,6 +92,7 @@ onMounted(()=>{
emit('view-type', 1) emit('view-type', 1)
// if(!data.styleList[0]?.id)getRequestOutfitList(0) // if(!data.styleList[0]?.id)getRequestOutfitList(0)
if(getGenerateTime)clearTimeout(getGenerateTime) if(getGenerateTime)clearTimeout(getGenerateTime)
console.log(data.styleList)
if(!data.styleList[0]?.taskId){ if(!data.styleList[0]?.taskId){
requestOutfit({num:4,index:0}) requestOutfit({num:4,index:0})
}else if(data.styleList.filter((item)=>item?.status != 'SUCCEEDED').length > 0){ }else if(data.styleList.filter((item)=>item?.status != 'SUCCEEDED').length > 0){
@@ -101,7 +102,6 @@ onMounted(()=>{
}) })
onUnmounted(()=>{ onUnmounted(()=>{
if(getGenerateTime)clearTimeout(getGenerateTime) if(getGenerateTime)clearTimeout(getGenerateTime)
generateStore.clearProductData()
}) })
defineExpose({}) defineExpose({})
const { styleList, select } = toRefs(data); const { styleList, select } = toRefs(data);