mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 01:09:19 +08:00
fix: 订单管理页状态列使用订单状态配置的颜色
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user