Browse Source

no message

linwenxin 4 months ago
parent
commit
f5be3960a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/common/utils/util.js

+ 1 - 1
src/common/utils/util.js

@@ -1042,7 +1042,7 @@ export const wxConfig = function (configInfo, userInfo, cb) {
 // 微信扫码
 export const wxScanCode = function (scanType = ['qrCode', 'barCode']) {
   return new Promise((resolve, reject) => {
-    mini_env(function () {
+    mini_env(function (bool) {
       if (bool) {
         wx.scanQRCode({
           needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,