我遇到了这个Breeze错误
[非法建筑 - 使用'或'结合检查]
在加载实体的编辑页面时在Chrome上.刷新页面时,不再显示错误消息.此错误在我的网站上随机,不定期地发生.我无法使用指定的场景重现它,只是随机地遇到它.
我在Breeze代码中看到此错误消息
if (curContext.prevContext === null) {
curContext.prevContext = context;
// just update the prevContext but don't change the curContext.
return that;
} else if (context.prevContext === null) {
context.prevContext = that._context;
} else {
throw new Error("Illegal construction - use 'or' to combine checks");
}
Run Code Online (Sandbox Code Playgroud)
你能否告诉我:基于上面的代码块,在哪种情况下抛出这个错误?
非常感谢.