feat: 清除缓存页面
This commit is contained in:
@@ -114,11 +114,18 @@ export const useGenerateStore = defineStore({
|
||||
this.customizeInfo.isRegenerated = ''
|
||||
this.customizeInfo.isFavorite = false
|
||||
},
|
||||
clearCustomerInfo(){
|
||||
this.customerInfo = {
|
||||
customerId: '',
|
||||
visitRecordId: ''
|
||||
}
|
||||
},
|
||||
//设置默认数据
|
||||
clearGenerateData() {
|
||||
this.clearProductData()
|
||||
this.updatePhotoInfo({})
|
||||
this.clearCustomizeInfo()
|
||||
this.clearCustomerInfo()
|
||||
},
|
||||
setCustomerInfo(data: any) {
|
||||
this.customerInfo = data
|
||||
|
||||
Reference in New Issue
Block a user