jufubao-base 1.0.312-beta3 → 1.0.312-beta4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.312-beta3",
3
+ "version": "1.0.312-beta4",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -349,7 +349,8 @@ export default {
349
349
  uni.scanCode({
350
350
  scanType: ["qrCode"],
351
351
  success: (res) => {
352
- this.card_qrcode = res.resultStr;
352
+ this.card_qrcode = res.result;
353
+ console.log(JSON.stringify(res),'二维码成功');
353
354
  this.searchCode()
354
355
  },
355
356
  fail: (error) => {
@@ -374,6 +375,8 @@ export default {
374
375
 
375
376
  searchCode() {
376
377
  if (!this.card_number && !this.card_password && !this.card_qrcode) return;
378
+ console.log('可以扫码');
379
+
377
380
  let data = {};
378
381
  if (this.card_number) data.card_number = this.card_number;
379
382
  if (this.card_password) data.card_password = this.card_password;
@@ -396,6 +399,7 @@ export default {
396
399
  this.vipInfo = res;
397
400
  })
398
401
  .catch((e) => {
402
+ console.log(e,'扫码失败');
399
403
  this.$xdHideLoading();
400
404
  });
401
405