dever 6 years ago
parent
commit
c2f2410288
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/Store/Core.php

+ 2 - 0
lib/Store/Core.php

@@ -172,6 +172,8 @@ class Core
 			$this->output['status'] = -1;
 			$this->output['message'] = '图片高度不能超过' . $this->config['height'] . 'px';
 		}
+
+		$this->size = number_format($this->size/1024, 2);
 	}
 	
 	/**