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