wangxiaodong 3 years ago
parent
commit
fe58ab44ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/static/admin.js

+ 1 - 1
public/static/admin.js

@@ -526,7 +526,7 @@ $(function () {
 
     /*! 上传多个图片 */
     $.fn.uploadMultipleImage = function () {
-        var type = $(this).data('type') || 'png,jpg,gif', name = $(this).attr('name') || 'umt-image';
+        var type = $(this).data('type') || 'png,jpg,gif,jpeg', name = $(this).attr('name') || 'umt-image';
         var $tpl = $('<a class="uploadimage"></a>').attr('data-file', 'mul').attr('data-field', name).attr('data-type', type);
         $(this).attr('name', name).after($tpl.data('input', this)).on('change', function () {
             var input = this;