mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 19:10:12 +08:00
feat: echo start after creating session
This commit is contained in:
1 parent
94ef3749f5
commit
dcd8f441f8
2 files changed
+16
-18
No files matched your search
@@ -36,7 +36,8 @@ const useSession = defineStore('session', {
|
||||
},
|
||||
async createSession() {
|
||||
const session = await createSession(this.questId)
|
||||
this.setSession(session)
|
||||
await this.setSession(session)
|
||||
socket.emit('terminal', 'echo start\n')
|
||||
},
|
||||
async getActiveSession() {
|
||||
const session = await getActiveSession(this.questId)
|
||||
|
||||
Reference in new issue
Block a user