在vue中经常遇到在{{}}中的文本\n不换行问题,以及空格只能显示一个;其实一行css解决 white-space: pre-line white-space值设为’pre-line’意为空白部分合并,保留换行符