hjhgzem@163.com 5 years ago
parent
commit
aa59abb7bb
2 changed files with 2 additions and 2 deletions
  1. 1 1
      index.js
  2. 1 1
      package.json

+ 1 - 1
index.js

@@ -166,7 +166,7 @@ const sensitiveWords = (offWords = [], _content = '') => {
166 166
 }
167 167
 
168 168
 // 查找敏感词
169
-ScanSensitiveWords = (content = '') => {
169
+const ScanSensitiveWords = (content = '') => {
170 170
     let _content = content
171 171
     let scanner = new FastScanner(sensitiveDectionary)
172 172
     let offWords = scanner.search(_content)

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "mall_utils_pro",
3
-  "version": "1.0.4",
3
+  "version": "1.0.5",
4 4
   "description": "主要记录一些常用方法",
5 5
   "main": "index.js",
6 6
   "scripts": {