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