This commit is contained in:
chenyuwu
2026-08-17 09:22:19 +08:00
parent 72b18009ff
commit bdc3d82579
+4 -4
View File
@@ -2,9 +2,9 @@
App<IAppOption>({
globalData: {},
onLaunch() {
// const envVersion = wx.getAccountInfoSync().miniProgram.envVersion
// if (envVersion !== 'release') {
// wx.reLaunch({ url: '/pages/tools/index' })
// }
const envVersion = wx.getAccountInfoSync().miniProgram.envVersion
if (envVersion !== 'release') {
wx.reLaunch({ url: '/pages/tools/index' })
}
},
})