Browse Source

附件信息修改

lizhenhao 2 years ago
parent
commit
c73ab174de
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/views/common/UpLoadComponent.vue

+ 3 - 0
src/views/common/UpLoadComponent.vue

@@ -203,6 +203,9 @@
         }
         }
       },
       },
       getSize (value) {
       getSize (value) {
+        if (this.commonJS.isEmpty(value)) {
+          return '0 B'
+        }
         if (value === 0) {
         if (value === 0) {
           return '0 B'
           return '0 B'
         }
         }