修复魔改页面无法跳转到outfit页面
This commit is contained in:
@@ -95,28 +95,10 @@ export const useGenerateStore = defineStore({
|
||||
...data,
|
||||
}
|
||||
},
|
||||
clearStyle() {
|
||||
this.style = {
|
||||
id: '',
|
||||
path: '',
|
||||
isLike: false,
|
||||
taskId:'',
|
||||
status: ''
|
||||
}
|
||||
this.styleList = [
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
]
|
||||
},
|
||||
//模特相关
|
||||
selectModel(data: any) {
|
||||
this.model.id = data.id
|
||||
},
|
||||
setIsGenerate(isGenerate: boolean) {
|
||||
this.isGenerate = isGenerate
|
||||
},
|
||||
clearProductData() {
|
||||
this.styleList = [
|
||||
{id:'',taskId:'',status:'',path:''},
|
||||
@@ -134,12 +116,14 @@ export const useGenerateStore = defineStore({
|
||||
this.model = {
|
||||
id: ''
|
||||
}
|
||||
this.clearTryOn()
|
||||
},
|
||||
clearTryOn() {
|
||||
this.originalTryOn = {
|
||||
id: '',
|
||||
isLike: false,
|
||||
tryOnUrl: ''
|
||||
}
|
||||
this.isGenerate = false
|
||||
},
|
||||
/** 更新顾客照片信息 */
|
||||
updatePhotoInfo(data: any) {
|
||||
|
||||
Reference in New Issue
Block a user