使用jssdk保存一个数据时,返回错误“tried to save a batch with a cycle ”
av js 源代码中的错误出处:
// If we can't save any objects, there must be a circular reference.
if (batch.length === 0) {
return AV.Promise.error(
new AV.Error(AV.Error.OTHER_CAUSE,
"Tried to save a batch with a cycle."));
}
奇怪的是,在http环境下,保存都是ok的
但是在https环境下,就返回该错误。
求解
-
创建时间
16年2月23日
-
最后回复
16年2月24日
-
1
回复
-
1.1K
浏览
-
2
用户