瀏覽代碼

上传控制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
             }