|
@@ -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;
|