瀏覽代碼

修改分发处理

lrf402788946 3 年之前
父節點
當前提交
6f6351876a
共有 1 個文件被更改,包括 2 次插入2 次删除
  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);
           });
           // 按路径字符串长度排序