Skip to content

Commit

Permalink
图片上传压缩图片参数默认为true
Browse files Browse the repository at this point in the history
  • Loading branch information
jqhph committed Nov 16, 2020
1 parent b6d32c0 commit 9fda1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/Field/WebUploader.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function autoUpload(bool $value = true)
*
* @return $this
*/
public function compress($compress)
public function compress($compress = true)
{
$this->options['compress'] = $compress;

Expand Down

0 comments on commit 9fda1e0

Please sign in to comment.