Bläddra i källkod

1.上传图片最大限制放大至3000

yangbo 4 år sedan
förälder
incheckning
8b6d85bb27
1 ändrade filer med 6 tillägg och 6 borttagningar
  1. 6 6
      kmall-admin/src/main/webapp/WEB-INF/page/shop/goodsproduct.html

+ 6 - 6
kmall-admin/src/main/webapp/WEB-INF/page/shop/goodsproduct.html

@@ -211,7 +211,7 @@
                 <i-col span="4">
                     <Form-item :label-width="1">
                         <Upload style="width: 300px;" action="../sys/oss/upload" :format="['jpg','jpeg','png']"
-                                max-size="100"
+                                max-size="3000"
                                 :on-success="handleSuccessUpImg" :on-format-error="handleFormatError"
                                 :show-upload-list="false"
                                 :on-exceeded-size="handleMaxSize">
@@ -234,7 +234,7 @@
                 <i-col span="4">
                     <Form-item :label-width="1">
                         <Upload style="width: 300px;" action="../sys/oss/upload" :format="['jpg','jpeg','png']"
-                                max-size="100"
+                                max-size="3000"
                                 :on-success="handleSuccessDownImg" :on-format-error="handleFormatError"
                                 :show-upload-list="false"
                                 :on-exceeded-size="handleMaxSize">
@@ -257,7 +257,7 @@
                 <i-col span="4">
                     <Form-item :label-width="1">
                         <Upload style="width: 300px;" action="../sys/oss/upload" :format="['jpg','jpeg','png']"
-                                max-size="100"
+                                max-size="3000"
                                 :on-success="handleSuccessLeftImg" :on-format-error="handleFormatError"
                                 :show-upload-list="false"
                                 :on-exceeded-size="handleMaxSize">
@@ -280,7 +280,7 @@
                 <i-col span="4">
                     <Form-item :label-width="1">
                         <Upload style="width: 300px;" action="../sys/oss/upload" :format="['jpg','jpeg','png']"
-                                max-size="100"
+                                max-size="3000"
                                 :on-success="handleSuccessRightImg" :on-format-error="handleFormatError"
                                 :show-upload-list="false"
                                 :on-exceeded-size="handleMaxSize">
@@ -303,7 +303,7 @@
                 <i-col span="4">
                     <Form-item :label-width="1">
                         <Upload style="width: 300px;" action="../sys/oss/upload" :format="['jpg','jpeg','png']"
-                                max-size="100"
+                                max-size="3000"
                                 :on-success="handleSuccessBeforeImg" :on-format-error="handleFormatError"
                                 :show-upload-list="false"
                                 :on-exceeded-size="handleMaxSize">
@@ -326,7 +326,7 @@
                 <i-col span="4">
                     <Form-item :label-width="1">
                         <Upload style="width: 300px;" action="../sys/oss/upload" :format="['jpg','jpeg','png']"
-                                max-size="100"
+                                max-size="3000"
                                 :on-success="handleSuccessAfterImg" :on-format-error="handleFormatError"
                                 :show-upload-list="false"
                                 :on-exceeded-size="handleMaxSize">