一、代码
let touristIds = ‘‘; for (let i = 0; i < this.refundOrderDetail.length; i++) { touristIds += `${this.refundOrderDetail[i].ids},`; } console.log(touristIds);
二、效果
原文地址:https://www.cnblogs.com/wangyuxue/p/11412326.html
时间: 2024-10-09 17:08:47
一、代码
let touristIds = ‘‘; for (let i = 0; i < this.refundOrderDetail.length; i++) { touristIds += `${this.refundOrderDetail[i].ids},`; } console.log(touristIds);
二、效果
原文地址:https://www.cnblogs.com/wangyuxue/p/11412326.html