How to add new line with typescript

前端 未结 0 1492
执笔经年
执笔经年 2021-01-28 17:55

I want to add new line but \'\\n\' didn\'t work.

This my component:

export class AppComponent {
x : any = [{\'adress\' : \'124 JD\'}, {\'housenum\': 1254}]         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题