@@ -28,7 +28,7 @@ const post = async (path, data = {}, payload = {}) => {
for(const key in data) {
console.log(key)
if(data.hasOwnProperty(key)) {
- const element = encodeURI(data[key])
+ const element = encodeURIComponent(data[key])
console.log(element)
urlParams.push(`${key}=${element}`)
}
@@ -29,7 +29,7 @@ export default function ({ $axios, redirect, req, ...args }) {
let urlParams = [];