HTMLタグを削除するには、正規表現を使用します

 VAR REG = / <\ /?。+?\ /?> /グラム
    stepsC.map((項目、指数)=> {
      this.steps.push({DESC:item.CellContent .replace(REG、 '') })
    })

おすすめ

転載: www.cnblogs.com/lxsunny/p/11997006.html