Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
工作代码 错误代码
如何在角度 6的TS test.component.ts中解决这个问题?
使用反勾号(``)代替单引号在打字稿中声明多行字符串。
var t=`<div> <p>Multiline Tag test</p> </div>`; console.log(t);