.display-linebreak { white-space: pre-line; }. 使用该CSS类显示文本 render() { const text = 'One \n Two \n Three'; return ( <div ...
確定! 回上一頁