浏览代码

qrcode scanner

Mike 3 年之前
父节点
当前提交
468327568a
共有 1 个文件被更改,包括 7 次插入8 次删除
  1. 7 8
      ArkCard-web/collect.html

+ 7 - 8
ArkCard-web/collect.html

@@ -389,17 +389,16 @@ $(document).ready(function () {
             liff.login({ redirectUri: "https://ark.cards/collect.html?"+context.userId });  // test
         } else {
             console.log("您已登入");
-            collection(context.userId); // 收藏頁面
+        }
 
-            // 收藏頁面
-            collection(context.userId);
+        // 收藏頁面
+        collection(context.userId);
 
-            // 購買頁面
-            shop(context.userId);
+        // 購買頁面
+        shop(context.userId);
 
-            // Qrcode頁面
-            get_data(context.userId);
-        }       
+        // Qrcode頁面
+        get_data(context.userId);
     })
     .catch((err) => {
         console.log('初始化失敗: ' + err.code + ", " + err.message);