const token = query.get('token') console.log(token)//123
const query = new URLSearchParams(this.props.location.search);
const value=queryString.parse(this.props.location.search); const token=value.token; console.log('token',token)//123