Browse Source

temp save

liujq 4 years ago
parent
commit
e567d165de

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.42513130.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-6d2aa384.0c30ea4d.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.05bb0d65.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.cd76cc97.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-6d2aa384.0e19ab64.js


File diff suppressed because it is too large
+ 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')

Some files were not shown because too many files changed in this diff