Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angularjs IE9和IE10字典呈现_Angularjs_Dictionary_Internet Explorer 9_Internet Explorer 10 - Fatal编程技术网

Angularjs 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></

我在ie9和ie10中呈现字典值时遇到问题。我所做的是通过迭代字典来呈现
项:

<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后,我会看到正确呈现的文本。有什么线索吗