Angularjs IE9和IE10字典呈现
我在ie9和ie10中呈现字典值时遇到问题。我所做的是通过迭代字典来呈现Angularjs IE9和IE10字典呈现,angularjs,dictionary,internet-explorer-9,internet-explorer-10,Angularjs,Dictionary,Internet Explorer 9,Internet Explorer 10,我在ie9和ie10中呈现字典值时遇到问题。我所做的是通过迭代字典来呈现项: <table class="table table-striped table-condensed"> <tr data-ng-repeat="(rightKey, value) in rightValuesLinksForSelectedType"> <td><label>{{rightNames[rightKey]}}</label></
项:
<table class="table table-striped table-condensed">
<tr data-ng-repeat="(rightKey, value) in rightValuesLinksForSelectedType">
<td><label>{{rightNames[rightKey]}}</label></td>
<td>
<select data-ng-model="rightsSelected[rightKey]" class="form-control">
<option data-ng-repeat="(wordKey, wordValue) in value"
data-ng-selected="wordValue" value="{{wordKey}}">
{{rightValues[wordKey]}}
</option>
</select>
</td>
</tr>
</table>
{{rightNames[rightKey]}
{{rightValues[wordKey]}
这些字典是由api提供的。所有这些都在firefox/chrome/ie11下工作,但在ie9和ie10中失败。我在页面呈现后看到的是,
中的一些值没有呈现(它们看起来像是在代码中-{{{rightValues[wordKey]}}
,其中一些已正确呈现。字典是由api提供的,我无法确定它们的外观。第一个ng repeat中的“value”是我在第二个ng repeat中迭代的另一个字典。至于数据ng selected=“wordValue”
-wordValue为“true”或“false”。请注意,并非所有的
值都不正确,展开select后,我会看到正确呈现的文本。有什么线索吗