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

doc: update

上级 7c82c3da
......@@ -495,3 +495,15 @@ vue3 全平台新增:通过 props 来获取页面参数的使用方式
};
</script>
```
## 小程序和App端不支持插值方式定义国际化@vue-i18n
因运行平台限制,目前在小程序和 App 端不支持插值方式定义国际化,需要使用 Messages Functions 定义国际化信息,[参考文档](https://vue-i18n.intlify.dev/guide/advanced/function.html)
示例:
```js
export default {
hello: ({ list }) => `${list(0)} world`,
test: '你好'
}
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册