利用正则表达式去除html标签

 var reg=/</?.+?/?>/g
    stepsC.map((item,index)=>{
      this.steps.push({desc:item.CellContent.replace(reg,'')})
    })
原文地址:https://www.cnblogs.com/lxsunny/p/11997006.html