进行编码
encodeURIComponent(JSON.stringify({"xxx":"123"}))
进行解码
decodeURIComponent('%7B%22xxx%22%3A%22123%22%7D')
目的就是把url参数进行编译加密可以传入过去
进行编码
encodeURIComponent(JSON.stringify({"xxx":"123"}))
进行解码
decodeURIComponent('%7B%22xxx%22%3A%22123%22%7D')
目的就是把url参数进行编译加密可以传入过去