【发布时间】:2020-06-11 17:14:22
【问题描述】:
我不知道如何使用查询参数不呈现 Angular 视图来解决这个问题。我已经从后端对字符串进行了编码。
这不起作用:
http://localhost:2333/change-password?token=cfdj8ka%2bqsu
这行得通:
http://localhost:2333/change-password?token=cfdj8ka
http://localhost:2333/change-password?token=cfdj8kabqsu
我相信 %2 是/ 的编码值。如何让我的 Angular 路线正确解码?我正在使用 Angular 5。
【问题讨论】: