bugfix: 重名
This commit is contained in:
@@ -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
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user