js源码:

this.str = this.str .replace(/↵/g,"\n");

html源码:

<pre>{{str}}</pre>

 

Logo

前往低代码交流专区

更多推荐