Skip to content

Commit

Permalink
Update FormHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
funadmin authored Jul 26, 2022
1 parent f81be22 commit 72e2a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helper/FormHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ public static function upload($name = 'avatar', $formData = '', $options = [], $
$width = $options['width'] ?? '300';
$height = $options['height'] ?? '300';
$mark = $options['mark'] ?? '1';
$area = $options['area'] ?? '900px';
$area = $options['area'] ?? '800px';
$cops = ['name'=>$name,'path' => $options['path'], 'width' => $width, 'height' => $height, 'mark' => $mark, 'area' => $area];
$crpperops = 'data-value="' . json_encode($cops, true) . '"';
$data_value = '';
Expand Down

0 comments on commit 72e2a4a

Please sign in to comment.