useRouter is a React Hook, meaning it cannot be used with classes. You can either use withRouter ... query : Object - The query string parsed to an object.
確定! 回上一頁