From ed455f0c52d4f95a5ff6270c2f749f29bf620604 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 17 十一月 2023 16:21:02 +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..c0b8a7f 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: 70px">{{ deviceInfo?.systemDeviceID }}</el-text> + </template> + </el-popover> </div> </div> </div> -- Gitblit v1.8.0