update event log
This commit is contained in:
12
src/App.vue
12
src/App.vue
@@ -201,6 +201,8 @@
|
||||
<span class="event-time">{{ formatTime(evt.time_generated) }}</span>
|
||||
</div>
|
||||
<p class="description highlight">{{ evt.analysis_hint }}</p>
|
||||
<!-- 新增:显示原始错误信息 -->
|
||||
<p v-if="evt.message" class="description raw-message">{{ evt.message }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -632,6 +634,16 @@ h2 {
|
||||
}
|
||||
|
||||
.description.highlight { color: #d35400; font-weight: 500; }
|
||||
.description.raw-message {
|
||||
margin-top: 5px;
|
||||
font-size: 0.85rem;
|
||||
color: #7f8c8d;
|
||||
font-family: Consolas, Monaco, 'Courier New', monospace;
|
||||
background: #f0f3f4;
|
||||
padding: 5px 8px;
|
||||
border-radius: 4px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
/* 状态文本与徽章 */
|
||||
.status-text { font-weight: 600; font-size: 0.9rem; }
|
||||
|
||||
Reference in New Issue
Block a user