mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
Fix re-login error (#60)
* refactor: put all session ref into one reactive store * fix relogin duplicate signal * fix: put quest data into store, fix hint reactivity * fix: duplicate after relogin * only register listener once
This commit is contained in:
1 parent
96cdd2b157
commit
acff4a3f2c
10 files changed
+179
-168
No files matched your search
@@ -25,10 +25,10 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import sessionManager from '../utils/session'
|
||||
import { createSession } from '../store/session'
|
||||
|
||||
const reset = async () => {
|
||||
console.log('resetting...')
|
||||
await sessionManager.createSession()
|
||||
await createSession()
|
||||
}
|
||||
</script>
|
||||
Reference in new issue
Block a user