Showing
1 changed file
with
3 additions
and
3 deletions
... | ... | @@ -123,19 +123,19 @@ |
123 | 123 | { |
124 | 124 | label: '详情', |
125 | 125 | icon: 'ant-design:eye-outlined', |
126 | - auth: 'api:yt:admin:viewDeviceList', | |
126 | + auth: 'api:yt:device:get', | |
127 | 127 | onClick: handleDetail.bind(null, record), |
128 | 128 | }, |
129 | 129 | { |
130 | 130 | label: '编辑', |
131 | - auth: 'api:yt:admin:editDeviceList', | |
131 | + auth: 'api:yt:device:update', | |
132 | 132 | icon: 'clarity:note-edit-line', |
133 | 133 | ifShow: authBtn(role) && record.customerId === undefined, |
134 | 134 | onClick: handleEdit.bind(null, record), |
135 | 135 | }, |
136 | 136 | { |
137 | 137 | label: '删除', |
138 | - auth: 'api:yt:admin:deleteDeviceList', | |
138 | + auth: 'api:yt:device:delete', | |
139 | 139 | icon: 'ant-design:delete-outlined', |
140 | 140 | ifShow: authBtn(role) && record.customerId === undefined, |
141 | 141 | color: 'error', | ... | ... |