提交 2c589160 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

refactor(getApp): 移除条件编译

上级 4c382abf
......@@ -161,12 +161,7 @@
},
_increasetLifeCycleNum: function () {
const app = getApp()
// #ifndef APP-ANDROID
app.vm.increasetLifeCycleNum()
// #endif
// #ifdef APP-ANDROID
app.increasetLifeCycleNum()
// #endif
app.vm!.increasetLifeCycleNum()
this.lifeCycleNum = state.lifeCycleNum
},
// 自动化测试
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册