GET 请求中 \n 换行符被吞掉的问题 Posted Mar 16, 2024 By yurongku 1 min readencodeURIComponent 进行编码将 \n 转换为 %0A,确保它在 URL 中被正确处理 const encodedJobContent = encodeURIComponent(jobContent); 工作日志, 指南 http This post is licensed under CC BY 4.0 by the author. Share