Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道我可以很容易地看到非关系字段的model_item.get('field')值,但是我怎样才能看到关系字段的值呢?如果我console.log用来打印出来,它不是很有帮助。
model_item.get('field')
console.log
试试这个 :
console.log( model.get('field').toArray() );