修复同行人无法关联的bug

main-20240105
赵夫琳 7 months ago
parent a713686e0e
commit 1dbf764bbf

@ -11,7 +11,7 @@
<div>姓名 {{item.nickname}}</div> <div>姓名 {{item.nickname}}</div>
<div>电话 {{item.mobile}}</div> <div>电话 {{item.mobile}}</div>
</div> </div>
<div class="new-rt" v-if="!disabled" @click="handleNewDel(index)"> <div class="new-rt" v-if="!disabled" @click="handleNewDel(index)">
<van-icon name="delete-o" size="20" /> <van-icon name="delete-o" size="20" />
</div> </div>
</div> </div>
@ -157,9 +157,9 @@ export default {
arr.push(z) arr.push(z)
}) })
}) })
if (this.tripPartners.length) { // if (this.tripPartners.length) {
arr = arr.concat(this.tripPartners) // arr = arr.concat(this.tripPartners)
} // }
let newArr = arr.concat(this.allTripPartners) let newArr = arr.concat(this.allTripPartners)
let repeatId = this.getisRepeat(newArr) let repeatId = this.getisRepeat(newArr)
if (repeatId) { if (repeatId) {

Loading…
Cancel
Save