Skip to content

Commit

Permalink
Update auth.js
Browse files Browse the repository at this point in the history
修复真机提示Dialog找不到问题
  • Loading branch information
woniudiancang authored Jan 1, 2023
1 parent a656fa7 commit 7464263
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/auth.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const WXAPI = require('apifm-wxapi')
import Dialog from '@vant/weapp/dialog/dialog'

async function checkSession(){
return new Promise((resolve, reject) => {
Expand Down Expand Up @@ -237,4 +236,4 @@ module.exports = {
checkAndAuthorize: checkAndAuthorize,
authorize: authorize,
bindSeller: bindSeller
}
}

0 comments on commit 7464263

Please sign in to comment.