A easy ORM for ember app, simple and flexible
Home Page:https://wecatch.me/ember-easy-orm
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
zhyq0826 opened this issue 8 years ago · comments
数组内容包含object,需要对object 进行序列化
if(Ember.isArray(model[key])){ for (let i = 0; i < model[key].length; i++) { if(typeof model[key][i] === 'object' && model[key][i]){ model[key][i] = JSON.stringify(model[key][i]); } } }