fix: 订单管理页状态列使用订单状态配置的颜色

This commit is contained in:
小蟑螂
2026-03-27 09:16:30 +08:00
parent cf2ace7c84
commit 0e00821e4f
@@ -369,7 +369,7 @@ onMounted(async () => {
<!-- 订单状态列 --> <!-- 订单状态列 -->
<template #orderStatus="{ row }: { row: any }"> <template #orderStatus="{ row }: { row: any }">
<Tag color="blue"> <Tag :color="row.orderStatus?.color || 'blue'">
{{ row.statusName || '未知状态' }} {{ row.statusName || '未知状态' }}
</Tag> </Tag>
</template> </template>