소스 검색

temp save

liujq 4 년 전
부모
커밋
e567d165de

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/css/app.42513130.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/css/chunk-6d2aa384.0c30ea4d.css


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/app.05bb0d65.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/app.cd76cc97.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-6d2aa384.0e19ab64.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/static/js/chunk-c967bb6c.15ae7d94.js


+ 2 - 3
src/components/Common/BaseForm.vue

@@ -451,14 +451,13 @@ export default {
     uploadBefore(file) {
       const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
       const isLt2M = file.size / 1024 / 1024 < 2
-      // const isLT150k = file.size / 1024 / 1024 < 0.4
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG 格式!')
       }
-      if (!isLT150k) {
+      if (!isLt2M) {
         this.$message.error('上传图片大小不能超过 400k!')
       }
-      return isJPGPNG && isLT150k
+      return isJPGPNG && isLt2M
     },
     uploadBefore2(file) {
       // console.log(file.type)

+ 2 - 3
src/views/house/components/popup/IndexEdit.vue

@@ -194,14 +194,13 @@ export default {
     roomAreaUploadBefore(file) {
       const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
       const isLt2M = file.size / 1024 / 1024 < 2
-      // const isLT150k = file.size / 1024 / 1024 < 0.4
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG 格式!')
       }
-      if (!isLT150k) {
+      if (!isLt2M) {
         this.$message.error('上传图片大小不能超过 400k!')
       }
-      return isJPGPNG && isLT150k
+      return isJPGPNG && isLt2M
     },
     metroLineChange (val) {
       this.getDef('change', 'metro_line')

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.