panxiandiao_i il y a 5 ans
Parent
commit
ec2f21dd01
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)