The .native modifier for v-on is only valid on components but it was used on <input>

原因

  • 基础不牢固就是这样了,事件的native修饰符只能在组件上使用,原生的html标签是不能使用的,这是因为我在input标签使用了native修饰符。

技术分享图片

文章来自:https://www.cnblogs.com/HJ412/p/12249781.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3