fix
This commit is contained in:
+4
-4
@@ -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' })
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user