我的 HTML 代码是
<tr ng-switch-when="true" ng-repeat="onlineCredentials in onlineCredentialDetails" >
<td>
<span>Ordering Mode: </span>{{onlineCredentials.mode}}<br />
<span>Intermedtiary Group: </span>{{onlineCredentials.name}}
</td>
<td>
<span>Website: </span>{{onlineCredentials.webSite}}
</td>
<td >
<span>Username / Password</span>
<div ng-repeat="cred in onlineCredentials.loginDetails">
- {{cred.userName}} / {{cred.password}}
</div><br />
</td>
</tr>
哪个不是绑定数据...(存在 TD 和文本,但绑定属性值为空)
如何一次使用 ng-switch-when 和 ng-repeat?
提前致谢