提交 9a6a9d7b 编写于 作者: Z zhaoshuangshi

ID相同处理

上级 824ec103
{ {
"node_id": "vue-ce443ccab6c048078cafd292ffd6ef92", "node_id": "vue-3da6179905284b2f90da29f78698c56e",
"keywords": [ "keywords": [
"render" "render"
], ],
......
{ {
"node_id": "vue-ce443ccab6c048078cafd292ffd6ef92", "node_id": "vue-3dc2ec34a5a044159790f511a5d0bbd2",
"keywords": [ "keywords": [
"createElement" "createElement"
], ],
......
{ {
"node_id": "vue-ce443ccab6c048078cafd292ffd6ef92", "node_id": "vue-d8af78e3f36749afb7629c909d9a7078",
"keywords": [ "keywords": [
"JSX" "JSX"
], ],
......
{ {
"node_id": "vue-7cc6f42eeae146638d75036f3574ce01", "node_id": "vue-0e7bbec542944182ac278403960cceae",
"keywords": [], "keywords": [],
"children": [], "children": [],
"export": [], "export": [
"exercises.json"
],
"keywords_must": [], "keywords_must": [],
"keywords_forbid": [] "keywords_forbid": []
} }
\ No newline at end of file
{
"type": "code_options",
"author": null,
"source": "exercises.md",
"notebook_enable": false,
"exercise_id": "d7875b9915f145438bf0fd6e530202e4"
}
\ No newline at end of file
# Vnode是什么
以下哪个选项描述了Vue中的vnode概念?
## 答案
vnode是虚拟节点的缩写,它是Vue用来描述组件结构和渲染结果的数据结构。
## 选项
### A
vnode是Vue中用来处理异步操作的概念,可以实现异步组件加载和路由懒加载等功能。
### B
vnode是Vue用来存储组件状态的数据结构,可以用来实现组件间通信和数据共享。
### C
vnode是Vue用来管理路由的数据结构,用于实现SPA(单页应用)的核心功能。
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
"node_id": "vue-4135b6869f254caaa5eace0bbf406f93", "node_id": "vue-4135b6869f254caaa5eace0bbf406f93",
"keywords": [], "keywords": [],
"children": [], "children": [],
"export": [], "export": [
"exercises.json"
],
"keywords_must": [], "keywords_must": [],
"keywords_forbid": [] "keywords_forbid": []
} }
\ No newline at end of file
{
"type": "code_options",
"author": null,
"source": "exercises.md",
"notebook_enable": false,
"exercise_id": "dfc53b19ff01445e86cf131cf22c4607"
}
\ No newline at end of file
# Vnode的作用
Vue中的vnode是用来描述组件结构和渲染结果的`__(1)__`
## 答案
数据结构。
## 选项
### A
数组或对象。
### B
方法函数。
### C
真实的DOM元素
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
"node_id": "vue-d9a9b0b2c90a4998a2013c23fef56a55", "node_id": "vue-d9a9b0b2c90a4998a2013c23fef56a55",
"keywords": [], "keywords": [],
"children": [], "children": [],
"export": [], "export": [
"exercises.json"
],
"keywords_must": [], "keywords_must": [],
"keywords_forbid": [] "keywords_forbid": []
} }
\ No newline at end of file
{
"type": "code_options",
"author": null,
"source": "exercises.md",
"notebook_enable": false,
"exercise_id": "02d6d2629362444198b6ab8f9bae4669"
}
\ No newline at end of file
# 混入的使用
在Vue中使用混入的作用是什么?
## 答案
用于向组件注入特定的方法或属性。
## 选项
### A
用于在组件中引入其他组件。
### B
用于在组件中定义数据模型。
### C
用于在组件中渲染特定的HTML元素。
...@@ -1271,7 +1271,7 @@ ...@@ -1271,7 +1271,7 @@
"children": [ "children": [
{ {
"render函数": { "render函数": {
"node_id": "vue-ce443ccab6c048078cafd292ffd6ef92", "node_id": "vue-dfdb05ea22bb40d58f1a3e1d00dfe06c",
"keywords": [ "keywords": [
"render" "render"
], ],
...@@ -1284,7 +1284,7 @@ ...@@ -1284,7 +1284,7 @@
}, },
{ {
"createElement参数": { "createElement参数": {
"node_id": "vue-ce443ccab6c048078cafd292ffd6ef92", "node_id": "vue-64b431ad6e1a4b1293aae0354cbe63df",
"keywords": [ "keywords": [
"createElement" "createElement"
], ],
...@@ -1297,7 +1297,7 @@ ...@@ -1297,7 +1297,7 @@
}, },
{ {
"JSX": { "JSX": {
"node_id": "vue-ce443ccab6c048078cafd292ffd6ef92", "node_id": "vue-268ee731f00a4c5a9cfd56dc165bc8ba",
"keywords": [ "keywords": [
"JSX" "JSX"
], ],
...@@ -1425,7 +1425,7 @@ ...@@ -1425,7 +1425,7 @@
"children": [ "children": [
{ {
"VNode是什么?": { "VNode是什么?": {
"node_id": "vue-7cc6f42eeae146638d75036f3574ce01", "node_id": "vue-0e7bbec542944182ac278403960cceae",
"keywords": [], "keywords": [],
"children": [], "children": [],
"keywords_must": [], "keywords_must": [],
...@@ -1535,7 +1535,7 @@ ...@@ -1535,7 +1535,7 @@
}, },
{ {
"ref函数": { "ref函数": {
"node_id": "vue-5d7f8d6369664f2b82523d3ebbb9db17", "node_id": "vue-4695a79899a54ec794d78e22da7242df",
"keywords": [], "keywords": [],
"children": [], "children": [],
"keywords_must": [], "keywords_must": [],
...@@ -1544,7 +1544,7 @@ ...@@ -1544,7 +1544,7 @@
}, },
{ {
"computed函数、watch函数": { "computed函数、watch函数": {
"node_id": "vue-c389b5d026614639ae7e9f03b16ec156", "node_id": "vue-f8001e5972ce4d4baf34104160ab77f7",
"keywords": [], "keywords": [],
"children": [], "children": [],
"keywords_must": [], "keywords_must": [],
...@@ -1553,7 +1553,7 @@ ...@@ -1553,7 +1553,7 @@
}, },
{ {
"Vue3的生命周期函数": { "Vue3的生命周期函数": {
"node_id": "vue-25b58f06191c41969456d7e96217518a", "node_id": "vue-168f219f9c304fd2ba987a61a1423339",
"keywords": [], "keywords": [],
"children": [], "children": [],
"keywords_must": [], "keywords_must": [],
...@@ -1562,7 +1562,7 @@ ...@@ -1562,7 +1562,7 @@
}, },
{ {
"Vue3获取DOM、操作组件": { "Vue3获取DOM、操作组件": {
"node_id": "vue-e9f2001f0fe34c4eabeffab6d4265f42", "node_id": "vue-f8013635f620485c88840675b2d00e7c",
"keywords": [], "keywords": [],
"children": [], "children": [],
"keywords_must": [], "keywords_must": [],
...@@ -1571,7 +1571,7 @@ ...@@ -1571,7 +1571,7 @@
}, },
{ {
"Vue3组件通信": { "Vue3组件通信": {
"node_id": "vue-b5f4958189864faf90f06cfe9e4eac48", "node_id": "vue-67d68f772c8245a094b9ed14745c7f86",
"keywords": [], "keywords": [],
"children": [], "children": [],
"keywords_must": [], "keywords_must": [],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册