Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma authored Mar 17, 2024
1 parent e524d9f commit 1450954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zh-CN/api/message/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ foo:
<chat-message nickname="Koishi">Hello, world!</chat-message>
</chat-panel>

带插值的用法。
这个组件也可以配合插值使用:

```html
<i18n path='foo.bar'>{'Koishi'}</i18n>
<i18n path="foo.bar">{'Koishi'}</i18n>
```

```yaml
Expand Down

0 comments on commit 1450954

Please sign in to comment.