panxiandiao_i 5 lat temu
rodzic
commit
ec2f21dd01
1 zmienionych plików z 1 dodań i 1 usunięć
  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)