提交 d9dd0b80 编写于 作者: W wangjinxin613

fix:android 启动参数路径调整

上级 7c5ef6d0
......@@ -6,7 +6,7 @@
onLaunch: function (options) {
console.log(options)
// 自动化测试
setLifeCycleNum(state.lifeCycleNum + 1000)
setLifeCycleNum(state.lifeCycleNum + 1000)
setAppLaunchPath(options.path)
console.log('App Launch')
// #ifdef UNI-APP-X && APP-ANDROID
......@@ -56,12 +56,7 @@
},
methods: {
checkLaunchPath() : boolean {
// #ifdef APP
const HOME_PATH = '/pages/tab-bar/options-api'
// #endif
// #ifdef WEB
const HOME_PATH = 'pages/tab-bar/options-api'
// #endif
if (state.appLaunchPath != HOME_PATH) {
return false
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册