Showing
1 changed file
with
2 additions
and
0 deletions
... | ... | @@ -138,6 +138,7 @@ |
138 | 138 | }, |
139 | 139 | { |
140 | 140 | label: record?.customerAdditionalInfo?.isPublic ? '私有' : '公开', |
141 | + auth: 'api:yt:device:public', | |
141 | 142 | icon: record?.customerAdditionalInfo?.isPublic |
142 | 143 | ? 'ant-design:lock-outlined' |
143 | 144 | : 'ant-design:unlock-outlined', |
... | ... | @@ -145,6 +146,7 @@ |
145 | 146 | }, |
146 | 147 | { |
147 | 148 | label: '上下线记录', |
149 | + auth: 'api:yt:device:online:record', | |
148 | 150 | icon: 'ant-design:rise-outlined', |
149 | 151 | onClick: handleUpAndDownRecord.bind(null, record), |
150 | 152 | }, | ... | ... |