bugfix: 重名

This commit is contained in:
zhangyahui
2025-11-03 15:55:59 +08:00
parent ec2acb2044
commit 41011a5378

View File

@@ -46,7 +46,7 @@ export const useGenerateStore = defineStore({
customerId: '',
visitRecordId: ''
},
sessionId: '' //会话id 秒级时间戳
chatSessionId: '' //会话id 秒级时间戳
}
},
getters: {
@@ -63,7 +63,7 @@ export const useGenerateStore = defineStore({
/** 顾客照片id */
customerPhotoId: (state) => state.photoInfo.id,
/** 会话id */
sessionId: (state) => state.sessionId
sessionId: (state) => state.chatSessionId
},
actions: {
selectStyle(data: any) {
@@ -146,7 +146,7 @@ export const useGenerateStore = defineStore({
this.customerInfo = data
},
setSessionId(data: string) {
this.sessionId = data
this.chatSessionId = data
},
}
})