Showing
1 changed file
with
4 additions
and
4 deletions
| ... | ... | @@ -2,10 +2,10 @@ |
| 2 | 2 | <div> |
| 3 | 3 | <BasicTable :clickToRowSelect="false" @register="registerTable"> |
| 4 | 4 | <template #toolbar> |
| 5 | - <Authority value="api:yt:admin:addDict"> | |
| 5 | + <Authority value="api:yt:dict:post"> | |
| 6 | 6 | <a-button type="primary" @click="handleCreate"> 新增字典 </a-button> |
| 7 | 7 | </Authority> |
| 8 | - <Authority value="api:yt:admin:deleteDict"> | |
| 8 | + <Authority value="api:yt:dict:delete"> | |
| 9 | 9 | <a-button |
| 10 | 10 | color="error" |
| 11 | 11 | @click="handleDeleteOrBatchDelete(null)" |
| ... | ... | @@ -25,13 +25,13 @@ |
| 25 | 25 | }, |
| 26 | 26 | { |
| 27 | 27 | label: '编辑', |
| 28 | - auth: 'api:yt:admin:editDict', | |
| 28 | + auth: 'api:yt:dict:update', | |
| 29 | 29 | icon: 'clarity:note-edit-line', |
| 30 | 30 | onClick: handleEdit.bind(null, record), |
| 31 | 31 | }, |
| 32 | 32 | { |
| 33 | 33 | label: '删除', |
| 34 | - auth: 'api:yt:admin:deleteDict', | |
| 34 | + auth: 'api:yt:dict:delete', | |
| 35 | 35 | icon: 'ant-design:delete-outlined', |
| 36 | 36 | color: 'error', |
| 37 | 37 | popConfirm: { | ... | ... |