hejie 3 жил өмнө
parent
commit
7e45c22504
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      src/request/api.js

+ 1 - 0
src/request/api.js

@@ -6,6 +6,7 @@ export function get(url, params, baseURL) {
 		url,
 		params,
 		method: "GET",
+		header: { "Content-Type": "application/x-www-form-urlencoded" },
 		baseURL,
 	})
 }