提交 67390ac8 编写于 作者: Q qiang

chore: build app

上级 7c63d411
......@@ -21751,6 +21751,12 @@ var serviceContext = (function () {
callAppHook(appVm, 'onLaunch', args);
callAppHook(appVm, 'onShow', args);
// https://tower.im/teams/226535/todos/16905/
const getAppState = weex.requireModule('plus').getAppState;
const appState = getAppState && Number(getAppState());
if (appState === 2) {
callAppHook(appVm, 'onHide', args);
}
}
function initTabBar () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册