mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix hint display problems
This commit is contained in:
1 parent
0e96e30b96
commit
b4af2d46d3
2 files changed
+5
-3
No files matched your search
@@ -65,7 +65,8 @@ const right = () => {
|
||||
<ul>
|
||||
<li
|
||||
v-for="response in sessionStore.session.responses[current]"
|
||||
:key="response.type"
|
||||
:key="response"
|
||||
id="content"
|
||||
class="text-text font-xl whitespace-pre-wrap"
|
||||
>
|
||||
<div v-for="content in response.content" :key="content">
|
||||
@@ -75,6 +76,7 @@ const right = () => {
|
||||
<li
|
||||
v-for="hint in sessionStore.session.hints[current]"
|
||||
:key="hint"
|
||||
id="hint-text"
|
||||
class="text-text-primary font-xl whitespace-pre-wrap"
|
||||
>
|
||||
<MarkdownText :content="hint" />
|
||||
|
||||
+2
-2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user