Operator '>' cannot be applied to types 'boolean' and 'number'?

后端 未结 1 1656
温柔的废话
温柔的废话 2021-02-20 11:23

Im using this block in my html template :

  
0\">

But im g

相关标签:
1条回答
  • 2021-02-20 11:51

    Put the second expression inside parenthesis:

    <div *ngIf="visibleblock && !(selected?.item?.externalInfo?.length > 0)">
    
    0 讨论(0)
提交回复
热议问题