蔡香满屋
站在牛顿头上吃苹果
 let reg=/<[^<>]+>/g; // 过滤掉所有html标签只剩下文本的正则表达式
 this.setState({
     schemeIntroduce : this.state.majorInfoList.schemeIntroduce.replace(reg, '')
             });

  

posted on 2018-12-17 19:36  蔡香满屋  阅读(277)  评论(0)    收藏  举报