行高问题

master
chc 2022-10-28 11:27:21 +08:00
parent 405bb4a216
commit 3861881996
1 changed files with 4 additions and 4 deletions

View File

@ -58,7 +58,6 @@
:columns="columns" :columns="columns"
:data="data" :data="data"
ref="table" ref="table"
class="mt_10"
@on-selection-change="changeSelect" @on-selection-change="changeSelect"
> >
<template slot-scope="{ row }" slot="action"> <template slot-scope="{ row }" slot="action">
@ -154,13 +153,13 @@ export default {
{ {
title: "活动名称", title: "活动名称",
key: "promotionName", key: "promotionName",
minWidth: 100, width: 100,
fixed: "left", fixed: "left",
}, },
{ {
title: "优惠券名称", title: "优惠券名称",
key: "couponName", key: "couponName",
minWidth: 100, width: 100,
tooltip: true, tooltip: true,
}, },
{ {
@ -182,7 +181,7 @@ export default {
{ {
title: "已领取数量/总数量", title: "已领取数量/总数量",
key: "publishNum", key: "publishNum",
width: 130, width: 150,
render: (h, params) => { render: (h, params) => {
return h( return h(
"div", "div",
@ -196,6 +195,7 @@ export default {
{ {
title: "已被使用的数量/已领取数量", title: "已被使用的数量/已领取数量",
key: "publishNum", key: "publishNum",
width: 130,
render: (h, params) => { render: (h, params) => {
return h("div", params.row.usedNum + "/" + params.row.receivedNum); return h("div", params.row.usedNum + "/" + params.row.receivedNum);
}, },