Commit 25a4f18abd0229950740babeddf7a22786a6c7f0

Authored by fengtao
1 parent e31b2c5c

fix:修复邮件发送记录表格按钮不显示问题

@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 <BasicTable @register="registerTable"> 3 <BasicTable @register="registerTable">
4 <template #toolbar> 4 <template #toolbar>
5 <a-button type="primary" @click="handleCreate"> 导出 </a-button> 5 <a-button type="primary" @click="handleCreate"> 导出 </a-button>
6 - <Authority value="api:yt:admin:deleteMessageLog"> 6 + <Authority value="api:yt:smsLog:export">
7 <a-button 7 <a-button
8 type="primary" 8 type="primary"
9 color="error" 9 color="error"
@@ -19,13 +19,13 @@ @@ -19,13 +19,13 @@
19 :actions="[ 19 :actions="[
20 { 20 {
21 label: '查看', 21 label: '查看',
22 - auth: 'api:yt:admin:viewMessageLog', 22 + auth: 'api:yt:smsLog:get',
23 icon: 'ant-design:fund-view-outlined', 23 icon: 'ant-design:fund-view-outlined',
24 onClick: handleModal.bind(null, record), 24 onClick: handleModal.bind(null, record),
25 }, 25 },
26 { 26 {
27 label: '删除', 27 label: '删除',
28 - auth: 'api:yt:admin:deleteMessageLog', 28 + auth: 'api:yt:smsLog:delete',
29 icon: 'ant-design:delete-outlined', 29 icon: 'ant-design:delete-outlined',
30 color: 'error', 30 color: 'error',
31 popConfirm: { 31 popConfirm: {