mirror of https://github.com/layui/layui
Update upload.js
parent
6a69c72533
commit
b2f92834d3
|
@ -476,6 +476,11 @@ layui.define(['lay', 'layer'], function(exports){
|
|||
if(result !== false){
|
||||
ready();
|
||||
}
|
||||
else{
|
||||
if(options.auto){
|
||||
elemFile.value = '';
|
||||
}
|
||||
}
|
||||
}, function(error){
|
||||
error !== undefined && layui.hint().error(error);
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue