AI桌面工具箱实操:智能抠图、人声分离与视频插帧一次搞定
2026/10/17 8:06:12
function trimObjectStrings(obj) { Object.keys(obj).map(key => { if (typeof obj[key] === 'string') { obj[key] = obj[key].trim(); } else if (typeof obj[key] === 'object' && obj[key] !== null) { trimObjectStrings(obj[key]); } } return obj; }