修复: 审批浮窗 reason 字段缺失(push 补 reason)+ 空态文案

This commit is contained in:
lxy
2026-08-01 15:54:32 +08:00
parent 1ddf48d40f
commit dbd226b403
4 changed files with 20 additions and 2 deletions
+11 -2
View File
@@ -31,6 +31,7 @@
<div class="popup-body">
<div v-if="approvals.length === 0" class="popup-empty">
<span class="popup-empty-spinner"></span>
<span class="popup-empty-hint">{{ $t('aiChat.popupEmptyHint') }}</span>
</div>
<div
v-for="tc in approvals"
@@ -317,17 +318,25 @@ function onDragEnd() { isDragging.value = false }
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
flex: 1;
min-height: 80px;
padding: 16px;
}
.popup-empty-spinner {
width: 18px;
height: 18px;
width: 14px;
height: 14px;
border: 2px solid var(--df-border, #444);
border-top-color: var(--df-accent);
border-radius: 50%;
animation: df-spin 0.8s linear infinite;
display: inline-block;
flex-shrink: 0;
}
.popup-empty-hint {
font-size: 11px;
color: var(--df-text-dim);
line-height: 1.4;
}
/* 单条审批项 */