Commit 90686b8268132e806bd2845578673bddb6273613
Merge branch 'ww' into 'main'
perf: set device name tooltip placement position See merge request huang/yun-teng-iot-front!331
Showing
1 changed file
with
4 additions
and
4 deletions
| ... | ... | @@ -62,11 +62,11 @@ |
| 62 | 62 | :style="{ width: `${100 / props.record.length}%` }" |
| 63 | 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 | 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 | 70 | </Tooltip> |
| 71 | 71 | </div> |
| 72 | 72 | </div> | ... | ... |