feat: echo start after creating session

This commit is contained in:
wancat committed 2024-06-27 12:14:15 +08:00
1 parent 94ef3749f5
commit dcd8f441f8
2 files changed
+16 -18

No files matched your search

+2 -1
View File
@@ -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)