Kaynağa Gözat

附件信息修改

lizhenhao 2 yıl önce
ebeveyn
işleme
c73ab174de
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      src/views/common/UpLoadComponent.vue

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

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