Browse Source

fix(device): 权限 code 错误

main
刘凯 1 year ago
parent
commit
23098dc4c4
  1. 2
      src/views/device-manage/device/components/DeviceInfo.vue

2
src/views/device-manage/device/components/DeviceInfo.vue

@ -90,7 +90,7 @@ const { hasPermission } = usePermission()
"{{ item.unit || 'null' }}" "{{ item.unit || 'null' }}"
</div> </div>
<div text="right gray-500 hover:gray-800"> <div text="right gray-500 hover:gray-800">
<span v-if="hasPermission('product_report_history')" class="cursor-pointer"> <span v-if="hasPermission('device_report_history')" class="cursor-pointer">
<FieldTimeOutlined /> <FieldTimeOutlined />
历史 历史
</span> </span>

Loading…
Cancel
Save