Bläddra i källkod

上传控制bug修复

laiguoran 2 år sedan
förälder
incheckning
e6297cf4f8
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/public/js/profile.js

+ 1 - 1
app/public/js/profile.js

@@ -170,7 +170,7 @@ $(document).ready(function() {
         $('#stamp-upload').change(function () {
             const hadstamp = $('#show-stamp .stamp-show').length;
             const files = this.files;
-            if (hadstamp + files.length >= 5) {
+            if (hadstamp + files.length > 5) {
                 toastr.error('最多只能5个签章');
                 return
             }