From 11fd2edc8643a9b5923d05ff21d18b7d845d4f76 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 07 十一月 2023 10:36:03 +0800 Subject: [PATCH] Merge branch 'dev' of http://192.168.5.5:10010/r/web/bulletin-board-style1 into dev --- src/views/dashboard/components/DeviceNumberInfo.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/dashboard/components/DeviceNumberInfo.vue b/src/views/dashboard/components/DeviceNumberInfo.vue index 839a73c..6182433 100644 --- a/src/views/dashboard/components/DeviceNumberInfo.vue +++ b/src/views/dashboard/components/DeviceNumberInfo.vue @@ -12,8 +12,12 @@ <el-scrollbar always class="scroller"> <div class="device-t">浜戠璁惧缂栫爜</div> <div class="device-b"> - <div v-for="(item, index) in deviceInfo?.deviceIDList" :key="index" class="device-info"> - {{ item }} + <div v-for="item in deviceInfo?.deviceList" :key="item.deviceID" class="device-info"> + <el-popover placement="top" :width="200" trigger="click" :content="item.deviceID"> + <template #reference> + <el-text truncated style="color: #fff; max-width: 100px">{{ item.deviceID }}</el-text> + </template> + </el-popover> </div> </div> </el-scrollbar> -- Gitblit v1.8.0