mod(custom): 部分细节优化

This commit is contained in:
2023-12-17 21:48:17 +08:00
parent cdeab8ea29
commit 590f722d00
2 changed files with 58 additions and 26 deletions

View File

@@ -65,7 +65,6 @@
<script setup>
import api from './api'
import { NEllipsis } from 'naive-ui'
const loading = ref(false)
@@ -136,24 +135,8 @@ const getList = async () => {
align: 'center',
},
{
title: '商品名称',
align: 'center',
slot: 'goods_name',
render: (row) => {
return h(
NEllipsis,
{
style: 'max-width: 240px',
},
{
default: () => row.goods_name,
}
)
},
},
{
title: '商品数量',
key: 'count',
title: '订单号',
key: 'oid',
align: 'center',
},
{
@@ -167,13 +150,13 @@ const getList = async () => {
align: 'center',
},
{
title: '获取积分',
key: 'number',
title: '服务费',
key: 'commission',
align: 'center',
},
{
title: '服务费',
key: 'commission',
title: '获取积分',
key: 'number',
align: 'center',
},
{