Ng-Repeat没有显示正确的结果

时间:2018-12-02 23:13:08

标签: angularjs

 <p ng-repeat="(key,value) in selectedLoanApplicationDetails track by key">
  {{key}}--- {{value}}
 </p>
$scope.selectedLoanApplicationDetails = {
     "Terms AND Conditions Accepted":"No",
     "LoanId":"a2NZ0000002CfmxMAC",
     "Loan Type":"INSTALLMENT",
     "Loan Status":"",
     "Loan Application Name":"Loan-0005",
     "Active":"Yes"
}

上面的结果是 0 --- [ 1 --- { 2 --- 3 --- 4 --- 5 --- 6--米 7 ---秒 8- 9 --- A 10 --- N 11 --- D 12 --- 13 --- C

我尝试使用$ index跟踪,但输出相同。有人可以帮忙吗?谢谢

0 个答案:

没有答案