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