- {{ item.location }}
+ {{ item.location && item.location !== '[]' ? item.location : '无' }}
时长:{{ item.durationTime }}
diff --git a/src/views/equipmentManagement/devices/index.vue b/src/views/equipmentManagement/devices/index.vue
index 5f6ff9f..083e27c 100644
--- a/src/views/equipmentManagement/devices/index.vue
+++ b/src/views/equipmentManagement/devices/index.vue
@@ -106,6 +106,13 @@
{{ scope.row.bindingStatus === 1 ? '已绑定' : '未绑定' }}
+
+
+
+
+ {{ scope.row.onlineStatus === 1 ? '在线' : '离线' }}
+
+
diff --git a/src/views/homeIndex/components/DeviceUsage.vue b/src/views/homeIndex/components/DeviceUsage.vue
index ccbb300..ce59e94 100644
--- a/src/views/homeIndex/components/DeviceUsage.vue
+++ b/src/views/homeIndex/components/DeviceUsage.vue
@@ -113,7 +113,7 @@ const initChart = () => {
name: '使用频次',
type: 'bar',
data: [], // 初始空数据
- barWidth: '10px',
+ barWidth: '9px',
stack: 'total',
label: {
show: true,