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
1e31cf3be5
commit
7806852cab
2 files changed
+5
-3
No files matched your search
@@ -65,7 +65,8 @@ const right = () => {
|
|||||||
<ul>
|
<ul>
|
||||||
<li
|
<li
|
||||||
v-for="response in sessionStore.session.responses[current]"
|
v-for="response in sessionStore.session.responses[current]"
|
||||||
:key="response.type"
|
:key="response"
|
||||||
|
id="content"
|
||||||
class="text-text font-xl whitespace-pre-wrap"
|
class="text-text font-xl whitespace-pre-wrap"
|
||||||
>
|
>
|
||||||
<div v-for="content in response.content" :key="content">
|
<div v-for="content in response.content" :key="content">
|
||||||
@@ -75,6 +76,7 @@ const right = () => {
|
|||||||
<li
|
<li
|
||||||
v-for="hint in sessionStore.session.hints[current]"
|
v-for="hint in sessionStore.session.hints[current]"
|
||||||
:key="hint"
|
:key="hint"
|
||||||
|
id="hint-text"
|
||||||
class="text-text-primary font-xl whitespace-pre-wrap"
|
class="text-text-primary font-xl whitespace-pre-wrap"
|
||||||
>
|
>
|
||||||
<MarkdownText :content="hint" />
|
<MarkdownText :content="hint" />
|
||||||
|
|||||||
+2
-2
@@ -10,9 +10,9 @@ export interface Task {
|
|||||||
|
|
||||||
export interface StageResponse {
|
export interface StageResponse {
|
||||||
status: string
|
status: string
|
||||||
hints: string[]
|
hints: string
|
||||||
tasks: Task[]
|
tasks: Task[]
|
||||||
responses: IResponse[]
|
responses: IResponse
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Session {
|
export interface Session {
|
||||||
|
|||||||
Reference in new issue
Block a user