Update onboarding and error handling experience (#29)

This commit is contained in:
AceDataCloud committed 2024-01-03 16:40:24 +08:00
1 parent 916df4b482
commit 9c54ffb7a8
23 files changed
+228 -43

No files matched your search

+4 -2
View File
@@ -89,8 +89,10 @@ export default defineComponent({
}
},
methods: {
onLogout() {
this.$store.dispatch('resetToken');
async onLogout() {
await this.$store.dispatch('resetAll');
await this.$store.dispatch('chat/resetAll');
await this.$store.dispatch('midjourney/resetAll');
},
onConsole() {
this.$router.push({ name: ROUTE_CONSOLE_ROOT });