mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Historical user conversation data has been cleared (#2840)
This commit is contained in:
parent
0861eb4cdc
commit
8dc793a128
|
|
@ -243,6 +243,11 @@ function sendMessage(val: string, other_params_data?: any, chat?: chatType) {
|
|||
showUserInput.value = true
|
||||
return
|
||||
})
|
||||
} else {
|
||||
showUserInput.value = false
|
||||
if (!loading.value && props.applicationDetails?.name) {
|
||||
handleDebounceClick(val, other_params_data, chat)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -65,7 +65,11 @@ const useUserStore = defineStore({
|
|||
if (token) {
|
||||
return token
|
||||
}
|
||||
return localStorage.getItem(`${this.userAccessToken}accessToken`)
|
||||
const local_token = localStorage.getItem(`${token}accessToken`)
|
||||
if (local_token) {
|
||||
return local_token
|
||||
}
|
||||
return localStorage.getItem(`accessToken`)
|
||||
},
|
||||
|
||||
getPermissions() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue