Commit 90686b8268132e806bd2845578673bddb6273613

Authored by xp.Huang
2 parents 8ac6452a 3cb940a1

Merge branch 'ww' into 'main'

perf: set device name tooltip placement position

See merge request huang/yun-teng-iot-front!331
@@ -62,11 +62,11 @@ @@ -62,11 +62,11 @@
62 :style="{ width: `${100 / props.record.length}%` }" 62 :style="{ width: `${100 / props.record.length}%` }"
63 :key="index" 63 :key="index"
64 > 64 >
65 - <Tooltip :title="item.deviceName" placement="top">  
66 - <span class="font-bold"> 65 + <Tooltip :title="item.deviceName" placement="topLeft">
  66 + <div class="flex p-1">
67 <!-- <SvgIcon name="" prefix="iconfont" class="!fill-emerald-400" /> --> 67 <!-- <SvgIcon name="" prefix="iconfont" class="!fill-emerald-400" /> -->
68 - <span>{{ item.deviceRename || item.deviceName }}</span>  
69 - </span> 68 + <div class="truncate font-bold">{{ item.deviceRename || item.deviceName }}</div>
  69 + </div>
70 </Tooltip> 70 </Tooltip>
71 </div> 71 </div>
72 </div> 72 </div>