标签: object typescript ionic-framework
如何使用离子2中的keyvalue循环遍历公共mySentences:Array 例如:如何在类型脚本中循环遍历数组?感谢
public mySentences:Array<Object> = [ {id: 1, text: 'Sentence 1'}, {id: 2, text: 'Sentence 2'}, {id: 3, text: 'Sentence 3'}, {id: 4, text: 'Sentenc4 '}, ];