Uncaught RangeError: Maximum call stack size exceeded
at VueComponent.Vue._render (eval at <anonymous> (app.js:723), <anonymous>:3906:7)
at VueComponent.updateComponent (eval at <anonymous> (app.js:723), <anonymous>:2440:21)
at Watcher.get (eval at <anonymous> (app.js:723), <anonymous>:2779:25)
at new Watcher (eval at <anonymous> (app.js:723), <anonymous>:2762:12)
at mountComponent (eval at <anonymous> (app.js:723), <anonymous>:2444:17)
at VueComponent.Vue$3.$mount (eval at <anonymous> (app.js:723), <anonymous>:7572:10)
at VueComponent.Vue$3.$mount (eval at <anonymous> (app.js:723), <anonymous>:9671:16)
at init (eval at <anonymous> (app.js:723), <anonymous>:3359:13)
at createComponent (eval at <anonymous> (app.js:723), <anonymous>:4902:9)
at createElm (eval at <anonymous> (app.js:723), <anonymous>:4845:9)
Chrome报错信息:
请问一下楼主,这个组件要怎么在vue里面用啊,我用vue-cli初始化一个项目,然后新写了一个组件SplitPane.vue:
然后在main.js里面全局注册组件:
路由配置:
然后是App.vue:
结果就报错,不知道什么情况
本机环境:
真心请教楼主,本人新手,非前端,只是项目中恰好需要这么一个东西,所以想请假一下