Angular学习笔记【ngx-bootstrap】中的 tabset

  <tabset class="tab-container tabbable-line">
                    <tab  heading="{{l("MobileSetting")}}" >
                    
                    </tab>
  </tabset>

注意:

{{l("MobileSetting")}} 多语言如果没有设置,则会报错。并且比较坑人的是,它报的错误信息是:
core.es5.js:1084 ERROR Error: Uncaught (in promise): Error: Template parse errors:
Unexpected closing tag "tab". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (" 
<tab heading="{{l("MobileSetting")}}" > 1 [ERROR ->]</tab> </tabset> </div> ")

这个错误让人发狂,因为你发现你的关闭标签明明就是</tab>,而且并没有错误中描述的已经提前有一个关闭标签关闭了此内容。

项目使用的是ABP(Angular2)架构