Angular 8 IE不使用* ngFor绑定html元素

问题描述

我有一个服务电话,该电话获取产品列表列表,并在单击按钮操作时显示弹出窗口。

<td *ngFor="let productlist of pillarProductList" class="border-right-first">
                  <div class="column">
                      <div class="domain-title">
                        <div *ngIf="productlist.pillar==='pillar1'"  class="labellogo"><icon1></div>
                        <div *ngIf="productlist.pillar==='pillar2'" class="labellogo"><icon2></div>
                        <div *ngIf="productlist.pillar==='pillar3'" class="labellogo"><icon3>div>
                        <p class="title labelText">{{productlist.pillar}}</p>
                      </div>
                      <div *ngFor="let product of productlist.products" class="domain-list">
                        <div *ngIf="(product.allowed && product.name!=='Managed') && (product.name==='Shield'|| product.name==='Response')"><a href="{{product.url}}{{orgid}}" target="_blank"> {{product.name}}</a></div>
                        <div *ngIf="(product.allowed && product.name!=='Managed')  && (product.name!=='Shield'&& product.name!=='Managed')"><a href="{{product.url}}" target="_blank"> {{product.name}}</a></div>
                        <div *ngIf="product.allowed && product.name==='Managed'">{{product.name}}</div>
                        <div *ngIf="!product.allowed && product.name==='Managed'">{{product.name}}</div>
                      </div>
                  </div>
              </td>

基本上是来自服务电话的产品列表,并在弹出窗口中显示结果。

这在chrome和firefox中工作正常,但在IE上不工作。

这里的问题是,当我在IE中加载此页面时,我看不到IE中重复的<td>标签。是绑定问题。此代码是使用angular 8编写的。我是否需要对IE进行任何特殊编码吗?。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)