Async pipe does not fill object data into template

后端 未结 5 1254
遇见更好的自我
遇见更好的自我 2021-02-01 17:41

Can anyone help me see if there is a syntax error here in my template? It does not give error, but does not fill in data into the template either:

5条回答
  •  迷失自我
    2021-02-01 18:26

    This is now possible using the 'as' syntax, available in v4.0.0:

    
     {{user.firstName}} {{user.lastName}}
    
    
      Loading user information...
    
    

    More details available in the RFC thread on github.

提交回复
热议问题