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