初始化

This commit is contained in:
zhu
2026-03-27 13:29:41 +08:00
commit ee03132cee
112 changed files with 6417 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
Page({
data: {
key: "is_first",
loading: true,
},
onLoad(options) {
this.init()
},
init() {
let state = wx.getStorageSync(this.data.key);
if (state) {
wx.redirectTo({
url: "/pages/joinFlow/access/index",
})
} else {
this.setData({
loading: false
})
}
},
handNext() {
wx.setStorageSync(this.data.key, true)
wx.redirectTo({
url: "/pages/home/index",
})
}
})