阅读背景:

快速“Un-angularize”JS对象的方法

来源:互联网 

Angular adds expando properties, "hashes," etc., to my deep object structure when two-way binding is in use. That's fine, but I'm interested in retrieving a JSON snapshot of my object tree with only the things that originally belonged there. Does Angular provide a way to get a "vanilla" version of a bound object?Angular adds expando properties, "hashes," etc.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: