Browse Source

修改分发处理

lrf402788946 3 years ago
parent
commit
6f6351876a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/service/patent/patentwarning.js

+ 2 - 2
app/service/patent/patentwarning.js

@@ -60,8 +60,8 @@ class PatentwarningService extends CrudService {
         if (xmlPaths.length > 0) {
           // 去掉文件名
           xmlPaths = xmlPaths.map(i => {
-            let arr = i.split(sep);
-            arr = arr.pop();
+            const arr = i.split(sep);
+            arr.pop();
             return arr.join(sep);
           });
           // 按路径字符串长度排序