Showing
1 changed file
with
4 additions
and
4 deletions
| ... | ... | @@ -2,10 +2,10 @@ |
| 2 | 2 | <div> |
| 3 | 3 | <BasicTable @register="registerTable" :clickToRowSelect="false"> |
| 4 | 4 | <template #toolbar> |
| 5 | - <Authority value="api:yt:admin:addMessageConfig"> | |
| 5 | + <Authority value="api:yt:message:post"> | |
| 6 | 6 | <a-button type="primary" @click="handleCreate"> 新增消息配置 </a-button> |
| 7 | 7 | </Authority> |
| 8 | - <Authority value="api:yt:admin:deleteMessageConfig"> | |
| 8 | + <Authority value="api:yt:message:delete"> | |
| 9 | 9 | <a-button |
| 10 | 10 | color="error" |
| 11 | 11 | @click="handleDeleteOrBatchDelete(null)" |
| ... | ... | @@ -32,13 +32,13 @@ |
| 32 | 32 | :actions="[ |
| 33 | 33 | { |
| 34 | 34 | label: '编辑', |
| 35 | - auth: 'api:yt:admin:editMessageConfig', | |
| 35 | + auth: 'api:yt:message:update', | |
| 36 | 36 | icon: 'clarity:note-edit-line', |
| 37 | 37 | onClick: handleEdit.bind(null, record), |
| 38 | 38 | }, |
| 39 | 39 | { |
| 40 | 40 | label: '删除', |
| 41 | - auth: 'api:yt:admin:deleteMessageConfig', | |
| 41 | + auth: 'api:yt:message:delete', | |
| 42 | 42 | icon: 'ant-design:delete-outlined', |
| 43 | 43 | color: 'error', |
| 44 | 44 | popConfirm: { | ... | ... |