Skip to content

Commit 1240fef

Browse files
committed
fix: 总览页错误信息列仅在失败时显示,跳过/成功不显示
1 parent af4f98f commit 1240fef

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

quantclass_sync_internal/gui/assets/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,10 @@ <h2 class="setup-title">QuantClass Sync 初始设置</h2>
276276
<span x-text="p.last_result || ''"></span>
277277
</template>
278278
</td>
279-
<!-- 错误信息:截断+title 看全文 -->
280-
<td class="err-cell" :title="p.last_error || ''" x-text="p.last_error || ''"></td>
279+
<!-- 错误信息:仅失败时显示,跳过/成功不显示 -->
280+
<td class="err-cell"
281+
:title="p.last_result === 'error' ? (p.last_error || '') : ''"
282+
x-text="p.last_result === 'error' ? (p.last_error || '') : ''"></td>
281283
</tr>
282284
</template>
283285
</tbody>

0 commit comments

Comments
 (0)