app js 提交
This commit is contained in:
parent
3968e1a82c
commit
0a98046f5c
12
app.js
12
app.js
@ -1,17 +1,7 @@
|
|||||||
// app.js
|
// app.js
|
||||||
App({
|
App({
|
||||||
onLaunch() {
|
onLaunch() {
|
||||||
// 展示本地存储能力
|
|
||||||
// const logs = wx.getStorageSync('logs') || []
|
|
||||||
// logs.unshift(Date.now())
|
|
||||||
// wx.setStorageSync('logs', logs)
|
|
||||||
|
|
||||||
// // 登录
|
|
||||||
// wx.login({
|
|
||||||
// success: res => {
|
|
||||||
// // 发送 res.code 到后台换取 openId, sessionKey, unionId
|
|
||||||
// }
|
|
||||||
// })
|
|
||||||
wx.setNavigationBarTitle ({title: ''})
|
wx.setNavigationBarTitle ({title: ''})
|
||||||
},
|
},
|
||||||
globalData: {
|
globalData: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user