소스 검색

上传控制bug修复

laiguoran 2 년 전
부모
커밋
e6297cf4f8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
             }