From bd3a9d7086f5a428b385599ba2cb08299b22c0df Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 15 九月 2022 09:26:18 +0800
Subject: [PATCH] 2022.9.14

---
 app.js |   22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/app.js b/app.js
index 1ed57c4..ac97cb9 100644
--- a/app.js
+++ b/app.js
@@ -2,18 +2,22 @@
 App({
   onLaunch() {
     // 灞曠ず鏈湴瀛樺偍鑳藉姏
-    const logs = wx.getStorageSync('logs') || []
-    logs.unshift(Date.now())
-    wx.setStorageSync('logs', logs)
+    // const logs = wx.getStorageSync('logs') || []
+    // logs.unshift(Date.now())
+    // wx.setStorageSync('logs', logs)
 
     // 鐧诲綍
-    wx.login({
-      success: res => {
-        // 鍙戦�� res.code 鍒板悗鍙版崲鍙� openId, sessionKey, unionId
-      }
-    })
+    // wx.login({
+    //   success: res => {
+    //     // 鍙戦�� res.code 鍒板悗鍙版崲鍙� openId, sessionKey, unionId
+    //   }
+    // })
+    console.log('onLaunch');
   },
   globalData: {
-    userInfo: null
+    perPage: 5,
+    userInfo: null,
+    accessToken: null,
+    isLogin: false
   }
 })

--
Gitblit v1.9.3