mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
fix: session store type
This commit is contained in:
1 parent
14fb870838
commit
78b92ee8ce
2 files changed
+5
-5
No files matched your search
@@ -69,7 +69,7 @@ const right = () => {
|
||||
<ul>
|
||||
<li
|
||||
v-for="response in sessionStore.session.responses[current]"
|
||||
:key="response"
|
||||
:key="response.type"
|
||||
id="content"
|
||||
class="text-text font-xl whitespace-pre-wrap"
|
||||
>
|
||||
|
||||
+4
-4
@@ -10,9 +10,9 @@ export interface Task {
|
||||
|
||||
export interface StageResponse {
|
||||
status: string
|
||||
hints: string
|
||||
hints: string[]
|
||||
tasks: Task[]
|
||||
responses: IResponse
|
||||
responses: IResponse[]
|
||||
}
|
||||
|
||||
export interface Session {
|
||||
@@ -20,7 +20,7 @@ export interface Session {
|
||||
status: string
|
||||
graph: FileGraph
|
||||
pwd: string
|
||||
hints: string[]
|
||||
hints: string[][]
|
||||
tasks: Task[]
|
||||
responses: IResponse[]
|
||||
responses: IResponse[][]
|
||||
}
|
||||
Reference in new issue
Block a user