You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 8.0, @ options was used instead of @ component. I defined props in the following way, but I couldn't use this Options access to.
在8.0版本里使用@options取代了@component,我用下面的方法定义了props,但是却无法用this.options访问到
In version 8.0, @ options was used instead of @ component. I defined props in the following way, but I couldn't use
this Options
access to.在8.0版本里使用@options取代了@component,我用下面的方法定义了props,但是却无法用
this.options
访问到I saw it in the document https://class-component.vuejs.org/guide/props-definition.html But I think this way of using props is very strange. I even want to give up Vue class component. Is there any way to make the definition of props more natural?
我在文档里看到https://class-component.vuejs.org/guide/props-definition.html,但是我觉得这种使用方式很奇怪,我甚至想放弃vue-class-component,有什么办法能让props的定义更自然些?
The text was updated successfully, but these errors were encountered: