Showing
1 changed file
with
3 additions
and
3 deletions
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | <div> |
3 | 3 | <BasicTable :clickToRowSelect="false" @register="registerTable" :searchInfo="searchInfo"> |
4 | 4 | <template #toolbar> |
5 | - <Authority value="api:yt:admin:deleteFeedBack"> | |
5 | + <Authority value="api:yt:opinion:delete"> | |
6 | 6 | <a-button |
7 | 7 | type="primary" |
8 | 8 | color="error" |
... | ... | @@ -21,13 +21,13 @@ |
21 | 21 | :actions="[ |
22 | 22 | { |
23 | 23 | label: '预览', |
24 | - auth: 'api:yt:admin:viewFeedBack', | |
24 | + auth: 'api:yt:opinion:get', | |
25 | 25 | icon: 'clarity:note-edit-line', |
26 | 26 | onClick: handleViewVideo.bind(null, record), |
27 | 27 | }, |
28 | 28 | { |
29 | 29 | label: '删除', |
30 | - auth: 'api:yt:admin:deleteFeedBack', | |
30 | + auth: 'api:yt:opinion:delete', | |
31 | 31 | icon: 'ant-design:delete-outlined', |
32 | 32 | color: 'error', |
33 | 33 | popConfirm: { | ... | ... |