前端--encodeURI和encodeURIComponent对比 七暖 2025-08-13 20 阅读1分钟 encodeURI(),不会对 +:、;?& 编码 encodeURIComponent(),会对所有敏感字符编码