diff --git a/src/helper/FormHelper.php b/src/helper/FormHelper.php index 0ff5d52..a6375e3 100644 --- a/src/helper/FormHelper.php +++ b/src/helper/FormHelper.php @@ -925,12 +925,13 @@ class="layui-btn" lay-filter="cropper" id="' .$id .'">' . lang('Choose') . ''; } + $options['upload'] = $options['upload'] ?? 'upload'; $str = '
' .$this->label($label,$options) . '
addextend($options) . ' ' . $this->addstyle($options) . ' value="' . $value . '" style="' . $css . ' ;width:65% " type="text" name="' . $name . '" class="layui-input attach ' . $this->addClass($options) . '"' . $this->verify($options) . '/> ' . $croper_container . ' - + ' . $select_container . '
' . $li . '