Skip to content

Commit

Permalink
fix: add key !== "lanDebug"
Browse files Browse the repository at this point in the history
  • Loading branch information
洛竹 committed Jul 2, 2021
1 parent 024d248 commit dab90c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const promisifyAll = () => {
Object.keys(wx).forEach(key => {
if (asyncMethods.indexOf(key) >= 0) {
wx.pro[key] = promisify(wx[key])
} else if (key !== 'createSignal') {
} else if (key !== 'createSignal' && key !== "lanDebug") {
wx.pro[key] = wx[key]
}
})
Expand Down

0 comments on commit dab90c7

Please sign in to comment.