Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohann0617 committed Apr 17, 2024
1 parent 6b9921d commit 5fccf6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/templates/footer.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{define "public/footer"}}
<script>
function uploadFile(file) {
var limit = 50 * 1024 * 1024;
var limit = 20 * 1024 * 1024;
if (file.size <= limit) {
uploadImg(file, 1).then((url) => {
// 处理上传成功的情况
Expand Down

0 comments on commit 5fccf6e

Please sign in to comment.