JavaScript,angular四、5 去掉字符串中的HTML標籤

reformNoticeContent(content) { content = content.split(''); var tagBoolean = false; content.forEach((c,index) => { if('<' === c){ tagBoolean = true; }else
相關文章
相關標籤/搜索