var res =‘acsdcsd‘;
console.log(res)
console.log(res.split(‘,‘))
var res1=‘{label: "线路",data: 10 }, {label: "酒店",data: 20 }, {label: "租车",data: 30 }, {label: "签证",data: 20 }, {label: "门票",data: 10 }, {label: "其它",data: 10 }‘;
console.log(res1.split(‘,‘))
时间: 2024-10-01 07:13:01