Browse Source

egg上传文件参数最大数目修改

laiguoran 5 years atrás
parent
commit
a16e263ffa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      config/config.default.js

+ 1 - 0
config/config.default.js

@@ -120,6 +120,7 @@ module.exports = appInfo => {
             '.png', '.jpg', '.jpeg', '.gif', '.bmp', '.cad', '.dwg',
             '.zip', '.rar', '.7z', ''],
         fileSize: '30mb',
+        fields: '15',
     };
 
     // 是否压缩替换前端js