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