This repository was archived by the owner on Aug 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ app.directive('focus', {
145
145
上一个的虚拟 Node,仅在 ` beforeUpdate` 和 ` updated` 钩子中可用。
146
146
147
147
:::tip Note
148
- 除了 ` el` 之外,你应该将这些参数视为只读,并且永远不要修改它们。如果你需要跨钩子共享信息,建议通过元素的[数据集] (https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset) 进行共享。
148
+ 除了 ` el` 之外,你应该将这些参数视为只读,并且永远不要修改它们。如果你需要跨钩子共享信息,建议通过元素的[数据集](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset)进行共享。
149
149
:::
150
150
151
151
- **参考**[自定义指令](../guide/custom-directive.html)
Original file line number Diff line number Diff line change 18
18
<component :is =" $options.components.child" ></component >
19
19
```
20
20
21
- - ** 参考** : [ 动态组件] ( ../guide/component-dynamic-async.html )
21
+ - ** 参考** :[ 动态组件] ( ../guide/component-dynamic-async.html )
22
22
23
23
## transition
24
24
200
200
` <keep-alive> ` 不会在函数式组件中正常工作,因为它们没有缓存实例。
201
201
:::
202
202
203
- - ** 参考** : [ 动态组件 - keep-alive] ( ../guide/component-dynamic-async.html#dynamic-components-with-keep-alive )
203
+ - ** 参考** :[ 动态组件 - keep-alive] ( ../guide/component-dynamic-async.html#dynamic-components-with-keep-alive )
204
204
205
205
## slot
206
206
214
214
215
215
详细用法,请参考下面教程的链接。
216
216
217
- - ** 参考** : [ 通过插槽分发内容] ( ../guide/component-basics.html#content-distribution-with-slots )
217
+ - ** 参考** :[ 通过插槽分发内容] ( ../guide/component-basics.html#content-distribution-with-slots )
218
218
219
219
## teleport
220
220
243
243
244
244
请注意,这将移动实际的 DOM 节点,而不是被销毁和重新创建,并且它还将保持任何组件实例的活动状态。所有有状态的 HTML 元素 (即播放的视频) 都将保持其状态。
245
245
246
- - ** 参考** : [ Teleport 组件] ( ../guide/teleport.html#teleport )
246
+ - ** 参考** :[ Teleport 组件] ( ../guide/teleport.html#teleport )
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ computed: {
264
264
</li >
265
265
</ul >
266
266
```
267
- 更新为:
267
+ 更新为:
268
268
269
269
``` html
270
270
<ul v-if =" shouldShowUsers" >
@@ -716,7 +716,7 @@ components/
716
716
|- index.vue
717
717
```
718
718
719
- or:
719
+ 或者:
720
720
721
721
```
722
722
components/
You can’t perform that action at this time.
0 commit comments