Skip to content

Commit

Permalink
fix: fix isWX
Browse files Browse the repository at this point in the history
  • Loading branch information
jinfeiyang committed Feb 1, 2021
1 parent 87e7eff commit cab0d78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function easeInOutExpo(pos) {
export function isWX() {
try {
return Boolean(wx.getSystemInfoSync);
} catch {
} catch(err) {
return false
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "easy-canvas-layout",
"version": "0.1.9",
"version": "0.1.10",
"description": "A canvas lib help to easy layout in canvas.",
"miniprogram_dist": "dist",
"main": "./lib/index.js",
Expand Down

0 comments on commit cab0d78

Please sign in to comment.