zhanghui 2 лет назад
Родитель
Сommit
894182c105
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      pages/index/index.vue

+ 4 - 4
pages/index/index.vue

@@ -280,10 +280,10 @@ export default {
     if (e.shareUserId){
       //用户点击分享到好友或者朋友圈传递过来的参数
       console.log('shareUserId===============>',e.shareUserId)
-      // setTimeout(()=>{
-      //   this.userInfo = uni.getStorageSync('userInfo');
-      //   this.scanCode(this.userInfo.otherId,e.shareUserId);
-      // },5000)
+      setTimeout(()=>{
+        this.userInfo = uni.getStorageSync('userInfo');
+        this.scanCode(this.userInfo.otherId,e.shareUserId);
+      },5000)
     }
 
     if(e.q){