From c765c26eee1249b0a8d72d2b203b2ed124c2bbf6 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 26 八月 2022 17:16:47 +0800
Subject: [PATCH] 2022.8.26(2)
---
app.js | 21 ++++++++++++---------
1 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/app.js b/app.js
index 1ed57c4..21651da 100644
--- a/app.js
+++ b/app.js
@@ -2,18 +2,21 @@
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
+ userInfo: null,
+ accessToken: null,
+ isLogin: false
}
})
--
Gitblit v1.9.3