Showing
1 changed file
with
4 additions
and
4 deletions
... | ... | @@ -2,10 +2,10 @@ |
2 | 2 | <div> |
3 | 3 | <BasicTable @register="registerTable" v-show="isStatus === 0"> |
4 | 4 | <template #toolbar> |
5 | - <Authority value="api:yt:admin:addScript"> | |
5 | + <Authority value="api:yt:convert:js:post"> | |
6 | 6 | <a-button type="primary" @click="handleCreate"> 新增转换脚本 </a-button> |
7 | 7 | </Authority> |
8 | - <Authority value="api:yt:admin:deleteScript"> | |
8 | + <Authority value="api:yt:convert:js:delete"> | |
9 | 9 | <a-button |
10 | 10 | color="error" |
11 | 11 | @click="handleDeleteOrBatchDelete(null)" |
... | ... | @@ -29,13 +29,13 @@ |
29 | 29 | :actions="[ |
30 | 30 | { |
31 | 31 | label: '编辑', |
32 | - auth: 'api:yt:admin:editScript', | |
32 | + auth: 'api:yt:convert:js:update', | |
33 | 33 | icon: 'clarity:note-edit-line', |
34 | 34 | onClick: handleEdit.bind(null, record), |
35 | 35 | }, |
36 | 36 | { |
37 | 37 | label: '删除', |
38 | - auth: 'api:yt:admin:deleteScript', | |
38 | + auth: 'api:yt:convert:js:delete', | |
39 | 39 | icon: 'ant-design:delete-outlined', |
40 | 40 | ifShow: record.status == 0, |
41 | 41 | color: 'error', | ... | ... |