function htmlToText(html) {
// 使用正则表达式移除HTML标签
return html.replace(/<[^>]*>/g, '');
}
htmlToText(noticeContent)
06-21
06-21
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交