Skip to content

Commit

Permalink
feat(Wechat): add isReady
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Aug 28, 2023
1 parent 1bd9092 commit 4d46f27
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/utils/Wechat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,13 @@ export class Wechat {
}
}

/**
* 微信 JSSDK 是否准备好可用。
*/
isReady() {
return this.ready
}

/**
* 判断当前客户端版本是否支持指定 JS 接口。
*
Expand Down

0 comments on commit 4d46f27

Please sign in to comment.