Commit cd544fe7 authored by liyadong's avatar liyadong

update

parent ce297fc2
......@@ -231,8 +231,6 @@
var acceptFileTypes = /^image\/(jpe?g|png)$/i;
var roleId = getQueryString('roleId');
var serverId = getQueryString('serverId');
beforeUploadPicture(file);
return false;
try{
//文件类型判断
if (file && file.type && !acceptFileTypes.test(file.type)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment