@@ -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