fix: 修改bug
This commit is contained in:
parent
6e47932024
commit
83b6297780
|
@ -52,8 +52,8 @@
|
|||
>
|
||||
<template #other>
|
||||
<div class="other">
|
||||
<j-tooltip placement="topLeft">
|
||||
<div
|
||||
<j-tooltip placement="top" :title="addressesTip(item.addresses)">
|
||||
<!-- <div
|
||||
v-if="
|
||||
(item.addresses || [])
|
||||
.length > 1
|
||||
|
@ -69,7 +69,7 @@
|
|||
:status="getColor(i)"
|
||||
/>{{ i.address }}
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div
|
||||
v-for="i in (
|
||||
item.addresses || []
|
||||
|
@ -86,7 +86,7 @@
|
|||
(item.addresses || [])
|
||||
.length > 1
|
||||
"
|
||||
>...</span
|
||||
>等{{ item.addresses.length }}条</span
|
||||
>
|
||||
</div>
|
||||
</j-tooltip>
|
||||
|
@ -354,6 +354,14 @@ watch(
|
|||
immediate: true,
|
||||
},
|
||||
);
|
||||
|
||||
const addressesTip = (data:any)=>{
|
||||
let tip:any = ''
|
||||
data.forEach((item:any)=>{
|
||||
tip = tip + " " +item.address
|
||||
})
|
||||
return tip
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
|
|
|
@ -50,24 +50,7 @@
|
|||
>
|
||||
<template #other>
|
||||
<div class="other">
|
||||
<j-tooltip placement="topLeft">
|
||||
<div
|
||||
v-if="
|
||||
(item.addresses || [])
|
||||
.length > 1
|
||||
"
|
||||
>
|
||||
<div
|
||||
v-for="i in item.addresses ||
|
||||
[]"
|
||||
:key="i.address"
|
||||
class="item"
|
||||
>
|
||||
<j-badge
|
||||
:status="getColor(i)"
|
||||
/>{{ i.address }}
|
||||
</div>
|
||||
</div>
|
||||
<j-tooltip placement="top" :title="addressesTip(item.addresses)">
|
||||
<div
|
||||
v-for="i in (
|
||||
item.addresses || []
|
||||
|
@ -84,7 +67,7 @@
|
|||
(item.addresses || [])
|
||||
.length > 1
|
||||
"
|
||||
>...</span
|
||||
>等{{ item.addresses.length }}条</span
|
||||
>
|
||||
</div>
|
||||
</j-tooltip>
|
||||
|
@ -652,6 +635,14 @@ watch(
|
|||
immediate: true,
|
||||
},
|
||||
);
|
||||
|
||||
const addressesTip = (data:any)=>{
|
||||
let tip:any = ''
|
||||
data.forEach((item:any)=>{
|
||||
tip = tip + " " +item.address
|
||||
})
|
||||
return tip
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
|
|
Loading…
Reference in New Issue