From 3410959e2feaf93734b4ae90f045593e3467ab9a Mon Sep 17 00:00:00 2001 From: Mr Ke <kelq@hugeinfo.com.cn> Date: Mon, 01 Jun 2020 16:09:15 +0800 Subject: [PATCH] 修复userId参数错误问题 --- src/utils/utils.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/utils/utils.js b/src/utils/utils.js index e3d62fd..50c17c8 100644 --- a/src/utils/utils.js +++ b/src/utils/utils.js @@ -8,4 +8,9 @@ s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1); const id = s.join(''); return id; -} \ No newline at end of file +} + +// 去除富文本的特殊标签符号 +export function emoveTAG(str) { + return str.replace(/<[^>]+>/g, ''); +} -- Gitblit v1.8.0