Merge branches 'main' and 'main' of ssh://18.167.251.121:10002/aidlab/lanecarford_front
This commit is contained in:
@@ -42,6 +42,19 @@ export const useGenerateStore = defineStore({
|
||||
isRegenerated: '',
|
||||
isFavorite: false
|
||||
},
|
||||
/** AI魔改信息-演示 */
|
||||
customizeInfoDemo: {
|
||||
inputText: '',
|
||||
count: 0,
|
||||
oldInputText: '',
|
||||
oldTryOnId: '',
|
||||
|
||||
tryOnId: '',
|
||||
tryOnUrl: '',
|
||||
styleUrl: '',
|
||||
isRegenerated: '',
|
||||
isFavorite: false
|
||||
},
|
||||
customerInfo: {
|
||||
customerId: '',
|
||||
visitRecordId: ''
|
||||
@@ -126,6 +139,18 @@ export const useGenerateStore = defineStore({
|
||||
this.customizeInfo.styleUrl = ''
|
||||
this.customizeInfo.isRegenerated = ''
|
||||
this.customizeInfo.isFavorite = false
|
||||
},
|
||||
/** 清空 AI魔改信息-演示 */
|
||||
clearCustomizeInfoDemo() {
|
||||
this.customizeInfoDemo.inputText = ''
|
||||
this.customizeInfoDemo.count = 0
|
||||
this.customizeInfoDemo.oldInputText = ''
|
||||
this.customizeInfoDemo.oldTryOnId = ''
|
||||
this.customizeInfoDemo.tryOnId = ''
|
||||
this.customizeInfoDemo.tryOnUrl = ''
|
||||
this.customizeInfoDemo.styleUrl = ''
|
||||
this.customizeInfoDemo.isRegenerated = ''
|
||||
this.customizeInfoDemo.isFavorite = false
|
||||
},
|
||||
uploadCustomizeInfo(data: object) {
|
||||
for (const key in data) {
|
||||
@@ -143,6 +168,7 @@ export const useGenerateStore = defineStore({
|
||||
this.clearProductData()
|
||||
this.updatePhotoInfo({})
|
||||
this.clearCustomizeInfo()
|
||||
this.clearCustomizeInfoDemo()
|
||||
this.clearCustomerInfo()
|
||||
this.setSessionId('')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user