liqk hace 3 años
padre
commit
2378a18d11
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      TEAMModelOS/ClientApp/src/view/teachcontent/index.vue

+ 1 - 0
TEAMModelOS/ClientApp/src/view/teachcontent/index.vue

@@ -486,6 +486,7 @@ export default {
                     }
                     //更新空间
                     this.sizeInfo.total += file.size
+                    this.$set(this.sizeInfo, file.type, this.sizeInfo[file.type] || 0)
                     switch (file.type) {
                         case 'res':
                             this.sizeInfo.res += file.size