From a0e33ad9811b1a3ef3a8d73ccb6ad772301c07ea Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 17 十一月 2023 16:17:40 +0800
Subject: [PATCH] 本机设备编码 增加 超出点点,点击显示全部
---
src/views/dashboard/components/DeviceNumberInfo.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/views/dashboard/components/DeviceNumberInfo.vue b/src/views/dashboard/components/DeviceNumberInfo.vue
index 6182433..8162b05 100644
--- a/src/views/dashboard/components/DeviceNumberInfo.vue
+++ b/src/views/dashboard/components/DeviceNumberInfo.vue
@@ -4,7 +4,11 @@
<div class="device-t">鏈満璁惧缂栫爜</div>
<div class="device-b">
<div class="device-info">
- {{ deviceInfo?.systemDeviceID }}
+ <el-popover placement="top" :width="200" trigger="click" :content="deviceInfo?.systemDeviceID">
+ <template #reference>
+ <el-text truncated style="color: #fff; max-width: 100px">{{ deviceInfo?.systemDeviceID }}</el-text>
+ </template>
+ </el-popover>
</div>
</div>
</div>
--
Gitblit v1.8.0