Skip to content

Commit

Permalink
Update FormHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
funadmin authored May 10, 2022
1 parent 88adfcd commit fcefb10
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 @@ -690,7 +690,7 @@ public static function editor($name = 'container', $type = 1, $options = [], $va
public static function upload($name = 'avatar', $formData = '', $options = [], $value = '')
{
if (!isset($options['type'])) $options['type'] = 'radio';
if (!isset($options['mime'])) $options['mime'] = 'image';
if (!isset($options['mime'])) $options['mime'] = 'images';
if (!isset($options['num'])) $options['num'] = 1;
if (isset($options['num']) && $options['num'] == '*') $options['num'] = 100;
if (!isset($options['path'])) $options['path'] = 'upload'; //上传路劲
Expand Down

0 comments on commit fcefb10

Please sign in to comment.