Ashuwp_framework icon indicating copy to clipboard operation
Ashuwp_framework copied to clipboard

阿树后台框架浏览器兼容bug

Open chenchenweb opened this issue 7 years ago • 1 comments

在火狐浏览器下上传多图或多文件时无法上传 解决办法:在ashuwp_framework.js文件的166行代码处传入event 新的代码如下 //field multiple $('.ashuwp_field_area .multiple_wrap').on('click','a.add_item',function(event){ event.preventDefault();

multiple_wrap = $(this).closest('.multiple_wrap');
data_name = $(this).attr('data_name');

html_format = $('#' + data_name).html();
count = 0;
count = multiple_wrap.find('.multiple_item').length + 1;

html_temp = html_format.replace(/({{i}})/g,count);

$(this).before(html_temp);
multiple_wrap.trigger('multiple_change');
ashuwp_gallery_sortable();

}); 感谢阿树先生的框架

chenchenweb avatar Dec 29 '17 04:12 chenchenweb

您好,我们在火狐浏览器下测试了一下,并没有出现文件无法上传的问题。

还请更详细的描述一下问题,来几个图片。

[email protected]

发件人: chenchenweb 发送时间: 2017-12-29 12:18 收件人: ashuwp/Ashuwp_framework 抄送: Subscribed 主题: [ashuwp/Ashuwp_framework] 阿树后台框架浏览器兼容bug (#2) 在火狐浏览器下上传多图或多文件时无法上传 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ashuwp avatar Jan 01 '18 13:01 ashuwp