guhongwei 2 年之前
父节点
当前提交
77407a9480
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      pages/setting/basic.js

+ 0 - 1
pages/setting/basic.js

@@ -83,7 +83,6 @@ Page({
     scanCode1: function () {
         const that = this;
         wx.scanCode({
-            onlyFromCamera: true,
             async success(res) {
                 let arr = res.result.split('&&');
                 let id = arr[0];