Vue报错 Property or method “onSubmit“ is not defined on the instance but referenced during render.
卤煮的错误类型属于错误2合一了Property or method "onSubmit" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based compon
·
卤煮的错误类型
属于
错误2合一了
Property or method "onSubmit" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.
Invalid handler for event "click": got undefined
但是,卤煮的事件和方法都写得语法没问题啊
后来2h后,卤煮气的头疼,项目经理一直催,咋还不上线,能不能行,,,,,卤煮脑子嗡嗡的就差重构代码了
去了卫生间蹲坑思考人生,要不要提桶跑路
然后回来继续找原因
卤煮啥B把 methods写在了data内部
电子竞技
菜是原罪
更多推荐
已为社区贡献3条内容
所有评论(0)