Browse Source

修改分发处理

lrf402788946 3 năm trước cách đây
mục cha
commit
6f6351876a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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);
           });
           // 按路径字符串长度排序