Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Commit a3608a2

Browse files
authored
Merge pull request #129 from zhouxinyong/fix-teleport
fix: change teleport modal-button line
2 parents fec1d8a + 1c0baf9 commit a3608a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/teleport.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Vue 鼓励我们通过将 UI 和相关行为封装到组件中来构建 UI。我
1919
</body>
2020
```
2121

22-
为此,我们可以使用 Vue 的内置 `<modal-button>` 组件:
22+
让我们来看看 `modal-button` 组件:
2323

24-
组件将有一个 `button` 元素来触发模态的打开,以及一个具有类 `.modal``div` 元素,它将包含模态的内容和一个用于自关闭的按钮。
24+
该组件将有一个 `button` 元素来触发模态的打开,以及一个具有类 `.modal``div` 元素,它将包含模态的内容和一个用于自关闭的按钮。
2525

2626
```js
2727
const app = Vue.createApp({});

0 commit comments

Comments
 (0)