Commit 2662f800e90fcc58313ad37db14b1e93470ba7bf

Authored by fengtao
1 parent 57066aa5

fix:修改视频管理CRUD权限标识

... ... @@ -13,10 +13,10 @@
13 13 class="w-3/4 xl:w-4/5"
14 14 >
15 15 <template #toolbar>
16   - <Authority value="api:yt:admin:addCamera">
  16 + <Authority value="api:yt:video:post">
17 17 <a-button type="primary" @click="handleCreateOrEdit(null)"> 新增视频 </a-button>
18 18 </Authority>
19   - <Authority value="api:yt:admin:deleteCamera">
  19 + <Authority value="api:yt:video:delete">
20 20 <a-button
21 21 type="primary"
22 22 color="error"
... ... @@ -45,18 +45,18 @@
45 45 {
46 46 label: '预览',
47 47 icon: 'clarity:note-edit-line',
48   - auth: 'api:yt:admin:viewCamera',
  48 + auth: 'api:yt:video:get',
49 49 onClick: handleViewVideo.bind(null, record),
50 50 },
51 51 {
52 52 label: '编辑',
53   - auth: 'api:yt:admin:editCamera',
  53 + auth: 'api:yt:video:update',
54 54 icon: 'clarity:note-edit-line',
55 55 onClick: handleCreateOrEdit.bind(null, record),
56 56 },
57 57 {
58 58 label: '删除',
59   - auth: 'api:yt:admin:deleteCamera',
  59 + auth: 'api:yt:video:delete',
60 60 icon: 'ant-design:delete-outlined',
61 61 color: 'error',
62 62 popConfirm: {
... ...