diff --git a/frontend/src/components/LogViewer.vue b/frontend/src/components/LogViewer.vue index 51f554c..c890ad5 100644 --- a/frontend/src/components/LogViewer.vue +++ b/frontend/src/components/LogViewer.vue @@ -252,7 +252,7 @@ onUnmounted(() => { } .log-entry:hover { - background: var(--ant-color-fill-quaternary); + } .log-highlight { @@ -311,7 +311,7 @@ onUnmounted(() => { } .log-data-content { - background: var(--ant-color-fill-quaternary); + padding: 8px; border-radius: 4px; margin-top: 4px; diff --git a/frontend/src/components/NoticeModal.vue b/frontend/src/components/NoticeModal.vue index 360010d..1db6594 100644 --- a/frontend/src/components/NoticeModal.vue +++ b/frontend/src/components/NoticeModal.vue @@ -92,10 +92,9 @@ const md = new MarkdownIt({ const notices = computed(() => Object.keys(props.noticeData)) // 当前公告索引 -const currentNoticeIndex = computed(() => { +computed(() => { return notices.value.findIndex(title => title === activeNoticeKey.value) }) - // 渲染 markdown const renderMarkdown = (content: string) => { return md.render(content) diff --git a/frontend/src/components/ScriptTable.vue b/frontend/src/components/ScriptTable.vue index 9c1cefb..d3ea0ff 100644 --- a/frontend/src/components/ScriptTable.vue +++ b/frontend/src/components/ScriptTable.vue @@ -211,10 +211,7 @@ 剩余关卡: {{ user.Info.Stage_Remain }} - + 备注: {{ truncateText(user.Info.Notes) }} @@ -270,10 +267,7 @@
- +