vue2.0 写路由出了两个错误,是什么意思?

vue.esm.js?efeb:571 [Vue warn]: Error in render: "TypeError: Cannot read property 'matched' of undefined"

found in

---> <App> at src\App.vue

       <Root>

vue.esm.js?efeb:1687 TypeError: Cannot read property 'matched' of undefined

    at render (vue-router.esm.js?fe87:68)

    at createFunctionalComponent (vue.esm.js?efeb:3950)

    at createComponent (vue.esm.js?efeb:4103)

    at _createElement (vue.esm.js?efeb:4282)

    at createElement (vue.esm.js?efeb:4221)

    at vm._c (vue.esm.js?efeb:4334)

    at Proxy.render (App.vue?8282:24)

    at VueComponent.Vue._render (vue.esm.js?efeb:4390)

    at VueComponent.updateComponent (vue.esm.js?efeb:2690)

    at Watcher.get (vue.esm.js?efeb:3033)


淩雲
浏览 6933回答 1
1回答

西兰花伟大炮

不能读取未定义的属性matched
打开App,查看更多内容
随时随地看视频慕课网APP