const list=【id 5 testStrategy 机型差异化测试 comment test5id 5 testStrategy 机型差异化测试 comment test5】把id转成字符串
const newList = list.map(item => { return { ...item, id: item.id.toString() }; });
console.log(newList);
原文地址: https://www.cveoy.top/t/topic/ivW5 著作权归作者所有。请勿转载和采集!