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

refactor(getApp): 移除条件编译

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