Explorar el Código

万物墙图片数量改成30

shaogen1995 hace 2 años
padre
commit
938ba266f5
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  1. 3 4
      管理后台/src/pages/A2Wall/WallAdd/index.tsx

+ 3 - 4
管理后台/src/pages/A2Wall/WallAdd/index.tsx

@@ -52,7 +52,7 @@ function WallAdd({ id, closeMoalFu, tableType }: Props) {
     FormBoxRef.current?.setFieldsValue({
       name: res.data.entity.name,
       display: res.data.entity.display,
-      description:res.data.entity.description
+      description: res.data.entity.description,
     });
     setTopType(res.data.entity.type);
 
@@ -398,7 +398,7 @@ function WallAdd({ id, closeMoalFu, tableType }: Props) {
                   <div className="fileBoxRow_r">
                     <div className="upImgBox">
                       <div
-                        hidden={imgList.length >= 9}
+                        hidden={imgList.length >= 30}
                         className="fileBoxRow_up"
                         onClick={() => myInput.current?.click()}
                       >
@@ -464,8 +464,7 @@ function WallAdd({ id, closeMoalFu, tableType }: Props) {
                           <br />
                         </>
                       ) : null}
-                      {/* 建议尺寸:{12960 / imgNum}*1920 */}
-                      支持png、jpg和jpeg的图片格式;最大支持30M。最多支持9张。
+                      支持png、jpg和jpeg的图片格式;最大支持30M。最多支持30张。
                     </div>
                   </div>
                 </div>