Browse Source

问题修改

suxinf 4 years ago
parent
commit
fc0f17dd6c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/data/components/UploadLinksTable.vue

+ 1 - 1
src/views/data/components/UploadLinksTable.vue

@@ -34,7 +34,7 @@
           <td>{{ obj.dlrCode }}</td>
           <td style="width: 180px">{{ obj.dlrName }}</td>
           <td>{{ obj.localArea }}</td>
-          <td>{{ (obj.publishDate).replace(RegExp("-", "g"), '/') }}</td>
+          <td>{{ (obj.publishDate || '').replace(RegExp("-", "g"), '/') }}</td>
           <td style="width: 180px">{{ obj.informationName }}</td>
           <td>{{ (((obj.reportDate || '').replace('T', ' ')).slice(0, -4)).replace(RegExp("-", "g"), '/') }}</td>