Browse Source

H5-商品

panyong 3 years ago
parent
commit
f379b714e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htmldev/dashboard/src/views/sell/editTableNum/index.vue

+ 1 - 1
htmldev/dashboard/src/views/sell/editTableNum/index.vue

@@ -57,7 +57,7 @@ export default {
     },
     handleScanQRCode () {
       wx.scanQRCode({
-        needResult: 0, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
+        needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果,
         scanType: ['qrCode', 'barCode'], // 可以指定扫二维码还是一维码,默认二者都有
         success: function (res) {
           var result = res.resultStr // 当needResult 为 1 时,扫码返回的结果