## 单图image ``` ->addFormItem('img', '图片', 'image', '', [ 'action' => request()->root(true) . '/api/v1/core/index/upload/', // 上传接口地址 'format' => ['jpg','jpeg','png','gif','ico'], 'max_size' => 512, ]) ```