Extjs 如何做两行或多行';小费

Extjs 如何做两行或多行';小费,extjs,extjs4,Extjs,Extjs4,我如何做两个或更多的提示行 我有: var firstLine = "1st Line"; var secondLine = "2nd Line"; var thirdLine = "3rd Line" var myTips = firstLine +' '+ secondLine +' '+ thidrLine 我得到了“第1行第2行第3行” 关于我想要的小费 "1st Line 2nd Line 3rd Line" 我怎么会想要它? 我尝试了'\n'和'\r\n',但没有得到期望的结果v

我如何做两个或更多的提示行

我有:

var firstLine = "1st Line";
var secondLine = "2nd Line";
var thirdLine = "3rd Line"
var myTips = firstLine +' '+ secondLine +' '+ thidrLine
我得到了
“第1行第2行第3行”

关于我想要的小费

"1st Line
2nd Line
3rd Line"
我怎么会想要它? 我尝试了'\n'和'\r\n',但没有得到期望的结果

var myTips=firstLine+'
'+secondLine+'
'+thidrLine;
var myTips = firstLine +'<br>'+ secondLine +'<br>'+ thidrLine;