zhaoxiaoqiang
2022-08-05 a838547dd556c95b091f22e8f4a52252bf405073
src/views/homeIndex/home-index.vue
@@ -2,7 +2,7 @@
 * @Author: 小明丶
 * @Date: 2020-05-20 20:29:47
 * @LastEditors: zxq
 * @LastEditTime: 2022-08-04 14:14:14
 * @LastEditTime: 2022-08-04 14:55:01
 * @Description:
-->
<template>
@@ -151,7 +151,6 @@
      let _this = this;
      this.checkIsReady().then(() => {
        if (window.android && window.android.fetchQrCode) {
          console.log(111111)
          window.android.fetchQrCode();
        } else {
          console.log(wx)
@@ -160,7 +159,6 @@
            scanType: ["qrCode", "barCode"], // 可以指定扫二维码还是一维码,默认二者都有
            success: function(res) {
              var result = res.resultStr; // 当needResult 为 1 时,扫码返回的结果
              console.log(result);
              _this.str = res.resultStr;
              _this.$router.push({
                path: "/order-handling",