Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js 生命周期 #5

Open
bingoogolapple opened this issue Sep 20, 2020 · 0 comments
Open

js 生命周期 #5

bingoogolapple opened this issue Sep 20, 2020 · 0 comments

Comments

@bingoogolapple
Copy link
Owner

bingoogolapple commented Sep 20, 2020

replace

  • 当应用从「主页」跳转到「添加代办页」时,首先调用「主页」的 onDestroy 函数。「主页」销毁后,依次调用「添加代办页」的 onInit、onReady、onShow 函数来初始化和显示「添加代办页」
[Debug] 主页 onInit
[Debug] 主页 onReady
[Debug] 主页 onShow
[Debug] 跳转到添加代办页面
[Debug] 主页 onDestroy

[Debug] 添加代办页 onInit
[Debug] 添加代办页 onReady
[Debug] 添加代办页 onShow
[Debug] 添加代办页 回到主页面
[Debug] 添加代办页 onDestroy

[Debug] 主页 onInit
[Debug] 主页 onReady
[Debug] 主页 onShow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant