We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc980e9 + cd5ca04 commit 9d40fddCopy full SHA for 9d40fdd
packages/weixin-official-account/src/index.ts
@@ -45,7 +45,7 @@ export class AuthingWxmp {
45
).toString()}`
46
}
47
48
- getUserInfo(search: string) {
+ getUserInfo(search?: string) {
49
search = search || window.location.search
50
51
const urlParams = new URLSearchParams(search)
0 commit comments