linwenxin 2 месяцев назад
Родитель
Сommit
efab87efee
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/common/utils/util.js

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

@@ -1056,7 +1056,7 @@ export const wxScanCode = function (scanType = ['qrCode', 'barCode']) {
           },
           fail: res => {
             reject('')
-            alert('wx.scanQRCode失败')
+            alert('wx.scanQRCode失败' + res?.errMsg)
           }
         })
       } else {