最近在配置路由时,路由跳转时报错:“ Cannot read property '$createElement' of undefined”。
问题在于component写成了components了,修正了就好了。
转载—Vue路由跳转时报错 Cannot read property ‘$createElement‘ of undefined
最新推荐文章于 2022-06-19 18:09:04 发布
最近在配置路由时,路由跳转时报错:“ Cannot read property '$createElement' of undefined”。
问题在于component写成了components了,修正了就好了。