From b01a02e25f2964cd98f4f34dd9539c8b2d883cc5 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 18 四月 2024 17:05:03 +0800 Subject: [PATCH] 看板 完成进度低于100%,和等于100,2种提示区别开 --- 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