fix cancel user name

This commit is contained in:
Timi
2026-09-09 15:50:11 +08:00
parent a76f423763
commit 9aabb9350a
+6 -2
View File
@@ -188,8 +188,12 @@
/> />
</t-cell-group> </t-cell-group>
<t-cell-group v-if="order.status === 'CANCELLED'" class="cancel-info" title="取消记录" theme="card"> <t-cell-group v-if="order.status === 'CANCELLED'" class="cancel-info" title="取消记录" theme="card">
<t-cell title="取消时间" :note="order.cancelledAt ? Time.toDateTime(order.cancelledAt) : '未知'" /> <t-cell title="取消时间">
<t-cell title="取消人" :note="order.cancelOperator?.name || order.cancelOperatorUserId || '未知'" /> <template #note>
<pass-time-label :timestamp="order.cancelledAt" underline />
</template>
</t-cell>
<t-cell title="取消人" :note="order.cancelOperator?.name || order.cancelOperator?.nick || order.cancelOperatorUserId || '未知'" />
<t-cell title="取消原因" :note="order.cancelReason || '未填写'" /> <t-cell title="取消原因" :note="order.cancelReason || '未填写'" />
</t-cell-group> </t-cell-group>
<section class="actions" v-entrance-transition="280"> <section class="actions" v-entrance-transition="280">