提交 becfe691 编写于 作者: inkwalk's avatar inkwalk

doc: update

上级 24301aed
...@@ -503,8 +503,9 @@ vue3 全平台新增:通过 props 来获取页面参数的使用方式 ...@@ -503,8 +503,9 @@ vue3 全平台新增:通过 props 来获取页面参数的使用方式
示例: 示例:
```js ```js
export default { const messages = {
hello: ({ list }) => `${list(0)} world`, en: {
test: '你好' greeting: ({ named }) => `hello, ${named('name')}!`
}
} }
``` ```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册