Update upload.js

pull/1991/head
2024-06-06 16:24:50 +08:00 committed by GitHub
parent 6a69c72533
commit b2f92834d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

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