解决URIError:URImalformed报错的核心方案是:在调用decodeURI或decodeURIComponent前,必须使用try...catch语句包裹异常捕获逻辑,或预先通过正则校验URI编码格式的...