.replace( /<[^>/]+>/g, '' ) 转义符问题! 修改为: .replace( /<[^>\/]+>/g, '' ) 转载于:https://www.cnblogs.com/estellez/p/4109949.html