dever 6 роки тому
батько
коміт
c2f2410288
1 змінених файлів з 2 додано та 0 видалено
  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);
 	}
 	
 	/**