@@ -156,7 +156,7 @@ return [
'title' => '可上传后缀格式',
'type' => 'string',
'content' => [],
- 'value' => 'jpg,png,bmp,jpeg,gif,zip,rar,xls,xlsx,wav,mp4,mp3,pdf',
+ 'value' => 'jpg,png,bmp,jpeg,gif,zip,rar,xls,xlsx,wav,mp4,mp3,pdf,svga',
'rule' => 'required',
'msg' => '',
'tip' => '',
@@ -32,7 +32,7 @@
<div class="input-group">
<input id="c-special" class="form-control" size="50" name="row[special]" type="text" value="">
<div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-special" class="btn btn-danger faupload" data-input-id="c-special" data-mimetype="svga" data-multiple="false" data-preview-id="p-special"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
+ <span><button type="button" id="faupload-special" class="btn btn-danger faupload" data-input-id="c-special" data-mimetype="mp4" data-multiple="false" data-preview-id="p-special"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
<span><button type="button" id="fachoose-special" class="btn btn-primary fachoose" data-input-id="c-special" data-mimetype="" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
</div>
<span class="msg-box n-right" for="c-special"></span>
<input id="c-special" class="form-control" size="50" name="row[special]" type="text" value="{$row.special|htmlentities}">
@@ -21,7 +21,7 @@ return [
/**
* 可上传的文件类型
*/
- 'mimetype' => 'jpg,png,bmp,jpeg,gif,zip,rar,xls,xlsx,wav,mp4,mp3,pdf',
+ 'mimetype' => 'jpg,png,bmp,jpeg,gif,zip,rar,xls,xlsx,wav,mp4,mp3,pdf,svga',
* 是否支持批量上传