当你的vue项目中出现这种报错的时候,页面肯定是显示不出来,找了半天,似乎也没发现有循环引用的呀 为啥会报内存溢出呢?

vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in nextTick: "RangeError: Maximum call stack size exceeded"
warn @ vue.runtime.esm.js?2b0e:619
logError @ vue.runtime.esm.js?2b0e:1884
globalHandleError @ vue.runtime.esm.js?2b0e:1879
handleError @ vue.runtime.esm.js?2b0e:1839
(anonymous) @ vue.runtime.esm.js?2b0e:1982
flushCallbacks @ vue.runtime.esm.js?2b0e:1906
Promise.then (async)
timerFunc @ vue.runtime.esm.js?2b0e:1933
nextTick @ vue.runtime.esm.js?2b0e:1990
queueWatcher @ vue.runtime.esm.js?2b0e:4396
update @ vue.runtime.esm.js?2b0e:4538
Vue.$forceUpdate @ vue.runtime.esm.js?2b0e:3963
(anonymous) @ index.js?6435:178
(anonymous) @ index.js?6435:154
(anonymous) @ index.js?6435:119
(anonymous) @ index.vue?d71c:32
(anonymous) @ index.vue?d71c:36
hotApply @ app.js:661
(anonymous) @ app.js:343
Promise.then (async)
hotUpdateDownloaded @ app.js:342
hotAddUpdateChunk @ app.js:318
webpackHotUpdateCallback @ app.js:37
(anonymous) @ 11.03a413ddbbd32c282897.hot-update.js:1
vue.runtime.esm.js?2b0e:1888 RangeError: Maximum call stack size exceeded
    at createElm (vue.runtime.esm.js?2b0e:5944)
    at VueComponent.patch [as __patch__] (vue.runtime.esm.js?2b0e:6471)
    at VueComponent.Vue._update (vue.runtime.esm.js?2b0e:3939)
    at VueComponent.updateComponent (vue.runtime.esm.js?2b0e:4060)
    at Watcher.get (vue.runtime.esm.js?2b0e:4473)
    at new Watcher (vue.runtime.esm.js?2b0e:4462)
    at mountComponent (vue.runtime.esm.js?2b0e:4067)
    at VueComponent.Vue.$mount (vue.runtime.esm.js?2b0e:8409)
    at init (vue.runtime.esm.js?2b0e:3118)
    at createComponent (vue.runtime.esm.js?2b0e:5972)

 

Logo

前往低代码交流专区

更多推荐