摘要: //识别并转换文本里的超链接 transSlink(value){ let reg = /(http:\/\/|https:\/\/|www)((\w|=|\?|\.|\/|&|~|-|[\u200B-\u200D\uFEFF])+)/g; let text = value.replace(reg, 阅读全文
posted @ 2022-02-18 16:59 huihuihero 阅读(168) 评论(0) 推荐(0) 编辑