Browse Source

fix: 企微数据 - 数据循环统计 - 导出"汇总"字段显示问题

zhengxy 2 years ago
parent
commit
f955385e38
1 changed files with 1 additions and 1 deletions
  1. 1 1
      project/src/assets/js/Export/index.js

+ 1 - 1
project/src/assets/js/Export/index.js

15
         }
15
         }
16
         if (i.indexOf('date') != -1) {
16
         if (i.indexOf('date') != -1) {
17
           if (item[i] && item[i] != '') {
17
           if (item[i] && item[i] != '') {
18
-            item[i] = new Date(item[i])
18
+            item[i] = !isNaN(new Date(item[i])) ? new Date(item[i]) : item[i]
19
           }
19
           }
20
         }
20
         }
21
       }
21
       }