mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
feat: integrate form after finishing quest
This commit is contained in:
1 parent
3c92c9d143
commit
9c8260a411
3 files changed
+39
-25
No files matched your search
@@ -61,8 +61,15 @@ const useSession = defineStore('session', {
|
||||
if (response.tasks) {
|
||||
this.session.tasks = response.tasks
|
||||
}
|
||||
if (
|
||||
response.status === 'finished' &&
|
||||
this.session.status !== 'finished'
|
||||
) {
|
||||
this.finish()
|
||||
}
|
||||
this.session.status = response.status
|
||||
},
|
||||
finish() {},
|
||||
reset() {
|
||||
socket.reset()
|
||||
term.reset()
|
||||
|
||||
Reference in new issue
Block a user