-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vue类型节点内部国际化依赖报错 #3954
Labels
type: discussion 讨论
Usage questions, guidance, and other discussions
Comments
vue3请使用teleport模式渲染节点 |
NewByVector
added
the
type: discussion 讨论
Usage questions, guidance, and other discussions
label
Oct 9, 2023
老哥你解决了吗?我也遇到了相同问题 @wtjperi2003 |
有例子吗? |
官网例子就是使用 |
@lloydzhou vue2的 可以使用teleport 吗? |
@fengxiaodong28 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
vue节点内部,使用
const {t}=useI18n();
运行时会报下列错误:实际上再main.ts里已经app.use(i18n)了。
Your Example Website or App
暂时没有
Steps to Reproduce the Bug or Issue
vue3项目安装"vue-i18n": "9"依赖,main.ts里安装文档启用:
然后自定义一个vue节点,再里面
const {t}=useI18n();
。然后再graph里添加该节点
Expected behavior
能正常使用
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: