-
Notifications
You must be signed in to change notification settings - Fork 13
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
在vite创建出来的项目中使用Autowired异常 #122
Comments
![]() after some investigation, I found that turn off the https://vitejs.dev/guide/features.html#usedefineforclassfields we are thinking how to avoid this problem. more infos:
|
we will provide a new version that support the new es decorator. |
非常谢谢,通过修改tsconfig.json能解决问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在vite 5 创建的环境中使用 2.1.0版本,使用Autowired的代码截图如下
但是从容器中获取SplitPanelManager实例的时候,实例属性injector为undefined,而有效值则在SplitPanelManager类的原型上。打印对象截图如下
删除实例属性Injector才能访问到注入的对象,因自身技术差找不出问题出在哪里,该怎样操作才能解决问题。
The text was updated successfully, but these errors were encountered: