Skip to content

Commit

Permalink
docs: better chinese readme about template ref (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheng-DX authored Jul 4, 2022
1 parent 1f02fa8 commit 961a52d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ b.list[1].count === 1 // true

<details>
<summary>
字符串 ref && 从 <code>setup()</code> 返回 ref
`模板`中使用字符串 ref && 从 <code>setup()</code> 返回 ref
</summary>

```html
Expand Down Expand Up @@ -216,7 +216,7 @@ b.list[1].count === 1 // true

<details>
<summary>
字符串 ref && 从 <code>setup()</code> 返回 ref && 渲染函数 / JSX
在<code>render()</code>中使用字符串 ref && 从 <code>setup()</code> 返回 ref
</summary>

```jsx
Expand Down Expand Up @@ -244,7 +244,7 @@ export default {

<details>
<summary>
函数 ref
函数式 ref
</summary>

```html
Expand All @@ -269,7 +269,7 @@ export default {

<details>
<summary>
❌ 在 <code>setup()</code> 中的渲染函数 / JSX
❌ 在 <code>setup()</code> 中返回的`渲染函数 / JSX`
</summary>

```jsx
Expand Down

0 comments on commit 961a52d

Please sign in to comment.