Vue处理后端返回数据带标签问题

78 阅读1分钟

handleStr (str) { return str.replace(/<[^>]+>/g, '').replace(/ /gi, '') }