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
|
showUserInput.value = true
|
||||||
return
|
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) {
|
if (token) {
|
||||||
return 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() {
|
getPermissions() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user