fix
This commit is contained in:
+4
-4
@@ -2,9 +2,9 @@
|
|||||||
App<IAppOption>({
|
App<IAppOption>({
|
||||||
globalData: {},
|
globalData: {},
|
||||||
onLaunch() {
|
onLaunch() {
|
||||||
// const envVersion = wx.getAccountInfoSync().miniProgram.envVersion
|
const envVersion = wx.getAccountInfoSync().miniProgram.envVersion
|
||||||
// if (envVersion !== 'release') {
|
if (envVersion !== 'release') {
|
||||||
// wx.reLaunch({ url: '/pages/tools/index' })
|
wx.reLaunch({ url: '/pages/tools/index' })
|
||||||
// }
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user