v2 2.0.0
yutent 2023-10-30 17:04:07 +08:00
parent e7146ce5ef
commit 2ab38350a8
1 changed files with 1 additions and 2 deletions

View File

@ -226,8 +226,7 @@ export default class Request {
get query() { get query() {
if (!this.#query) { if (!this.#query) {
let para = parse(this.#req.url).query let para = parse(this.#req.url).query
this.#query = {} this.#query = QS.parse(para)
para = Object.assign(this.#query, QS.parse(para))
} }
return this.#query return this.#query
} }