提交 673636c0 作者: 翁进城

修正加盟内容换行

上级 1a85a4a9
...@@ -17,7 +17,7 @@ export default function JoinPolicy() { ...@@ -17,7 +17,7 @@ export default function JoinPolicy() {
id: tagId, id: tagId,
}) })
.then((res) => { .then((res) => {
setContent(res.result?.tagDescription.replace("\n", "<br/>") || ""); setContent(res.result?.tagDescription.replaceAll("\n", "<br/>") || "");
}); });
} }
}, []); }, []);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论