@@ -15,7 +15,7 @@
<TableAction
:actions="[
{
- label: '激活',
+ label: record.status ? '禁用' : '激活',
ifShow: getCheckPerm('rtk-updata'),
onClick: handleActive.bind(null, record),
},
@@ -210,7 +210,7 @@
totalField: 'total',
actionColumn: {
- width: 100,
+ width: 150,
title: '操作',
dataIndex: 'action',
slots: { customRender: 'action' },