Merge branch 'main' of ssh://18.167.251.121:10002/aidlab/lanecarford_front
All checks were successful
git提交控制 AiDA WEB-Node.js main 分支构建部署 / build (20.19.0) (push) Has been skipped

This commit is contained in:
X1627315083
2025-12-23 14:20:11 +08:00
15 changed files with 279 additions and 58 deletions

View File

@@ -6,8 +6,8 @@ const route = useRoute()
import { showConfirmDialog } from 'vant'
import MyEvent from '@/utils/myEvent'
import { FlowType, IsHistoryFlow } from '@/types/enum'
import { useGenerateStore } from '@/stores'
const generateStore = useGenerateStore()
import { useHGenerateStore } from '@/stores'
const hGenerateStore = useHGenerateStore()
//const props = defineProps({
@@ -66,13 +66,22 @@ onMounted(()=>{
path: 'uploadFace',
imgPath: new URL('@/assets/images/nav3.png',import.meta.url).href,
flowTypeList: [FlowType.H_TRYON,FlowType.H_AI],
click(){
hGenerateStore.clearCustomizeInfo()
},
},
{
path: 'customize',
imgPath: new URL('@/assets/images/nav4.png',import.meta.url).href,
flowTypeList: [FlowType.H_TRYON,FlowType.H_AI],
click(){
generateStore.updatePhotoInfo({})
hGenerateStore.clearCustomizeInfo()
hGenerateStore.uploadCustomizeInfo({
tryOnId: hGenerateStore.originalTryOn.id,
tryOnUrl: hGenerateStore.originalTryOn.tryOnUrl,
isFavorite: hGenerateStore.originalTryOn.isLike,
styleUrl: hGenerateStore.style.url,
})
},
},
]