提交 292c18b4 编写于 作者: 王天雷

Merge branch 'master' of gitcode.net:csdn/skill_tree_mini_programs

......@@ -2,7 +2,9 @@
"node_id": "mini_programs-820b8f186ac840bb8e4a192579531ffd",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercises.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": "xuzhangzheng",
"source": "exercises.md",
"notebook_enable": false,
"exercise_id": "5e6213ef7f0e482b8ba6520d4c0aed08"
}
\ No newline at end of file
# 应用生命周期
下列生命周期函数中,哪个不是小程序的应用生命周期?
## 答案
onLoad
## 选项
### A
onLaunch
### B
onShow
### C
onHide
### D
onError
### E
onPageNotFound
### F
onThemeChange
{
"node_id": "mini_programs-99efecbacb014401bec990a69eaafd6a",
"keywords": [],
"keywords": [
"页面生命周期",
"onLoad",
"onShow",
"onReady",
"onHide",
"onUnload"
],
"children": [],
"export": [],
"export": [
"exercises.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": "xuzhangzheng",
"source": "exercises.md",
"notebook_enable": false,
"exercise_id": "a4c8ff5681654fd8a2ffb9f570ee0bbc"
}
\ No newline at end of file
# 页面生命周期
在小程序中有着很多个页面生命周期,它们会在某些特定场景下自动触发对应的函数,请问当页面滚动到底部时,会触发哪个函数?
## 答案
onReachBottom
## 选项
### A
onPullDownRefresh
### B
onPageScroll
### C
onShareAppMessage
### D
onResize
### E
onHide
### F
onReady
### G
onLoad
......@@ -2,7 +2,9 @@
"node_id": "mini_programs-7b44398c40aa4466aedab347d969c533",
"keywords": [],
"children": [],
"export": [],
"export": [
"exercises.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
......
{
"type": "code_options",
"author": "xuzhangzheng",
"source": "exercises.md",
"notebook_enable": false,
"exercise_id": "e4a72ec92d7947d88567d33a546dc951"
}
\ No newline at end of file
# 组件生命周期
在下列选项中,哪个生命周期函数,是在组件实例创建完成后被立即调用的?
## 答案
created
## 选项
### A
onLoad
### B
beforeCreate
### C
onReady
### D
beforeMount
### E
mounted
### F
destroyed
......@@ -14,7 +14,7 @@
"keywords": [],
"children": [
{
"小程序简介": {
"微信小程序简介": {
"node_id": "mini_programs-b506a7a0ae4d49d289568c82f6b481c9",
"keywords": [],
"children": [],
......@@ -188,7 +188,14 @@
{
"页面生命周期": {
"node_id": "mini_programs-99efecbacb014401bec990a69eaafd6a",
"keywords": [],
"keywords": [
"页面生命周期",
"onLoad",
"onShow",
"onReady",
"onHide",
"onUnload"
],
"children": [],
"keywords_must": [],
"keywords_forbid": [],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册