This commit is contained in:
zhaoke
2023-02-14 10:33:32 +00:00
parent 9c920b1547
commit a2c3fee694
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -78,6 +78,7 @@ function checkDangerExtensions(file)
{
alert(<?php echo json_encode($this->lang->file->dangerFile);?>);
$(file).val('');
$('.file-input-normal').last().remove()
return false;
}
@@ -92,6 +93,7 @@ function checkDangerExtensions(file)
{
alert(<?php echo json_encode(sprintf($lang->file->errorFileSize, $maxUploadSize));?>);
totalSize -= fileSize;
console.log($(file), file)
$(file).val('');
return false;
}