Sfoglia il codice sorgente

Merge branch 'master' of git.xiaojukeji.com:jacklijiajia/thoth-frontend

qinzhipeng_v 5 anni fa
parent
commit
cfdb45b13e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/Platform/bugManage/bugQuery.vue

+ 1 - 1
src/views/Platform/bugManage/bugQuery.vue

@@ -262,7 +262,7 @@ export default {
         this.form = res.data
         this.fileList = []
         var str = res.data.accessory
-        if (str !== '') {
+        if (str !== '' && str !== null) {
           var obj = JSON.parse(str.split('{}')[0])
           for (var a of obj) {
             this.fileList.push(a)