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
All checks were successful
git提交控制 AiDA WEB-Node.js main 分支构建部署 / build (20.19.0) (push) Has been skipped
This commit is contained in:
@@ -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,
|
||||
})
|
||||
},
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user