Gozala / querystring

Node's querystring module for all engines.
MIT License
287 stars 72 forks source link

获取的url上的参数不是以对象的方式呈现 #35

Open 1140349909 opened 6 years ago

1140349909 commented 6 years ago

let search = queryString.parse(this.props.location.search); console.log(search, 111);

打印出 {?type: "wang"}

LitoMore commented 5 years ago

Translation:

Title: When I trying to get the parameters from the location.search, the result is not an object.

let search = queryString.parse(this.props.location.search);
console.log(search, 111);

// The output is:
{?type: "wang"}