Commit 386440a9742cf9f480b18d701b769e3c3a3947ba

Authored by fengtao
1 parent 1c02582e

fix:修改意见反馈CRUD权限标识

@@ -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: {