//字符串中的数字, 变成红色
strInit (strText) {
let newStr = strText.replace(/[0-9]+/g, '<span style="color:#ff8282;font-size:20px;font-weight:500; padding: 0 5px;">$&</span>')
return newStr
},
相关: https://www.zhihu.com/question/519758290/answer/2372262972


1259

被折叠的 条评论
为什么被折叠?



