随笔记录

下载:window.open(url, '_blank')

打开新标签页:
window.open('url?参数名=' + encodeURIComponent(参数), 'index')
 
换行显示:
js : meetingModel.requirement = '1.我不知道。 2.我不知道。 3我不知道。 1.我不知道。 2.我不知道。 3我不知道。'
html:对要实现换行的标签添加样式(white-space: pre-line
   <div>{{requirement}}</div>

 
原文地址:https://www.cnblogs.com/lhn5xy/p/10209340.html