The problem of dynamic parameter transfer in router-link

: to= ""/ play/detail?play="+article.id"

article.id is a value like kpJtmWU=. After rendering, the connection becomes

.

href= "/ play/detail?play=kpJtmWU%3D"

ask how to make it not encode the = sign

Nov.03,2021

all url are url encoded. You can decode


when you receive them.

decode it:

decodeURIComponent('kpJtmWU%3D')
Menu