The Chinese in the params of the vue-resource get request will be compiled

this.$http.get("", {
  params: {
    message: ""
  },
  headers: {
  }

Request URL:xxx?message=%E5%A4%9A%E6%92%92%E5%A5%A5

in network of

chrome

the desired result is
Request URL:xxx?message= Chinese garbled

Mar.14,2021

Chinese is automatically url encoded by the browser, and the backend receives the

that needs to be decoded.
Menu