gpt4 book ai didi

javascript - 如何使用来自 JSON 的 Parse.Object?

转载 作者:行者123 更新时间:2023-11-30 12:06:58 25 4
gpt4 key购买 nike

<分区>

我检查了文档:http://parse.com/docs/js/api/classes/Parse.Object.html#methods_fromJSON

我这样做了:Parse.Object.fromJSON(this.document) ,但我得到:Uncaught Error: Cannot create an object without a className .

这种方法的正确使用方法是什么?

注意: console.log(this.document)输出:Object {} (之前使用 toJSON 转换为 JSON 对象的 Parse 对象。)

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com