Explorar o código

上传控制bug修复

laiguoran %!s(int64=2) %!d(string=hai) anos
pai
achega
e6297cf4f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
             }