fix hint display problems

This commit is contained in:
Annie Huang committed 2024-04-06 22:06:48 +08:00
1 parent 1e31cf3be5
commit 7806852cab
2 files changed
+5 -3

No files matched your search

+3 -1
View File
@@ -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
View File
@@ -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 {