Ember 数据中的错误 'Maximum call stack size exceeded' 可能是什么原因?
What could be reason of the error 'Maximum call stack size exceeded' inside Ember Data?
在 Ember 发布新版本 3.6.0 后,我开始在控制台中收到错误消息:
rsvp.js:24 Uncaught RangeError: Maximum call stack size exceeded
at WeakMap.get ()
at getCacheFor (metal.js:25)
at ComputedProperty.get (metal.js:2350)
at Array.CPGETTER_FUNCTION [as []] (metal.js:752)
at Function.jQuery.extend.jQuery.fn.extend (jquery.js:261)
at Function.jQuery.extend.jQuery.fn.extend (jquery.js:282)
at Function.jQuery.extend.jQuery.fn.extend (jquery.js:282)
at Function.jQuery.extend.jQuery.fn.extend (jquery.js:282)
at Function.jQuery.extend.jQuery.fn.extend (jquery.js:282)
at Function.jQuery.extend.jQuery.fn.extend (jquery.js:282)
我在我的组件之一的 init
中找到了 store.query
请求的原因:
this.get('store').query('user', { 'filter': { 'type': '1', 'gender': 'male' } }).then(tutors => {
this.set("tutors", tutors);
});
如何找出我开始收到此错误的原因?
我觉得可能是这个问题:https://github.com/emberjs/ember.js/issues/17190
Ember3.6 中尚未修复此问题。您可能需要继续使用 Ember 3.5 或应用此评论中的解决方法:https://github.com/emberjs/ember.js/issues/17190#issuecomment-440208573
在 Ember 发布新版本 3.6.0 后,我开始在控制台中收到错误消息:
rsvp.js:24 Uncaught RangeError: Maximum call stack size exceeded at WeakMap.get () at getCacheFor (metal.js:25) at ComputedProperty.get (metal.js:2350) at Array.CPGETTER_FUNCTION [as []] (metal.js:752) at Function.jQuery.extend.jQuery.fn.extend (jquery.js:261) at Function.jQuery.extend.jQuery.fn.extend (jquery.js:282) at Function.jQuery.extend.jQuery.fn.extend (jquery.js:282) at Function.jQuery.extend.jQuery.fn.extend (jquery.js:282) at Function.jQuery.extend.jQuery.fn.extend (jquery.js:282) at Function.jQuery.extend.jQuery.fn.extend (jquery.js:282)
我在我的组件之一的 init
中找到了 store.query
请求的原因:
this.get('store').query('user', { 'filter': { 'type': '1', 'gender': 'male' } }).then(tutors => {
this.set("tutors", tutors);
});
如何找出我开始收到此错误的原因?
我觉得可能是这个问题:https://github.com/emberjs/ember.js/issues/17190
Ember3.6 中尚未修复此问题。您可能需要继续使用 Ember 3.5 或应用此评论中的解决方法:https://github.com/emberjs/ember.js/issues/17190#issuecomment-440208573