230320a303 11 tháng trước cách đây
mục cha
commit
19691cee38
30 tập tin đã thay đổi với 36 bổ sung36 xóa
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/css/app.62d3663f.css
  3. 0 0
      dist/static/css/chunk-0fc1bdb2.a82e4039.css
  4. 0 0
      dist/static/css/chunk-41f61581.0caf1c22.css
  5. 0 0
      dist/static/css/chunk-53a18efa.0c9a6d4b.css
  6. 0 0
      dist/static/css/chunk-67d5db5b.bd0c3ebf.css
  7. 0 0
      dist/static/css/chunk-b3d84490.e5accb3c.css
  8. 0 0
      dist/static/css/chunk-b68b3c70.9a1e37c1.css
  9. 0 0
      dist/static/js/app.325ba7fb.js
  10. 0 0
      dist/static/js/chunk-0b99ee74.2eb7d596.js
  11. 0 0
      dist/static/js/chunk-0fc1bdb2.37afebea.js
  12. 0 0
      dist/static/js/chunk-2a76575e.f2f0a2f1.js
  13. 0 0
      dist/static/js/chunk-41f61581.f7b04bdc.js
  14. 0 0
      dist/static/js/chunk-4e017dbe.80934c9e.js
  15. 0 0
      dist/static/js/chunk-53a18efa.16cfd9ae.js
  16. 0 0
      dist/static/js/chunk-67d5db5b.49f5faa4.js
  17. 0 0
      dist/static/js/chunk-7fba9e11.ef96e1a1.js
  18. 0 0
      dist/static/js/chunk-b3d84490.240d9964.js
  19. 0 0
      dist/static/js/chunk-b68b3c70.92daca62.js
  20. 6 6
      src/components/Common/BaseForm.vue
  21. 3 3
      src/views/facillity/components/popup/IndexEdit.vue
  22. 3 3
      src/views/house/components/popup/IndexEdit.vue
  23. 3 3
      src/views/house/components/popup/LotteryEdit.vue
  24. 3 3
      src/views/house/components/popup/LotteryEdit2.vue
  25. 3 3
      src/views/house/components/popup/NewsEdit.vue
  26. 3 3
      src/views/house/components/popup/PhotoEdit.vue
  27. 3 3
      src/views/house/components/popup/PhotoEdit2.vue
  28. 3 3
      src/views/room/components/popup/IndexEdit.vue
  29. 3 3
      src/views/room/components/popup/RentEdit.vue
  30. 3 3
      src/views/school/components/popup/IndexEdit.vue

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/index.html


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/app.62d3663f.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/chunk-0fc1bdb2.a82e4039.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/chunk-41f61581.0caf1c22.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/chunk-53a18efa.0c9a6d4b.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/chunk-67d5db5b.bd0c3ebf.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/chunk-b3d84490.e5accb3c.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/chunk-b68b3c70.9a1e37c1.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/app.325ba7fb.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-0b99ee74.2eb7d596.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-0fc1bdb2.37afebea.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-2a76575e.f2f0a2f1.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-41f61581.f7b04bdc.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-4e017dbe.80934c9e.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-53a18efa.16cfd9ae.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-67d5db5b.49f5faa4.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-7fba9e11.ef96e1a1.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-b3d84490.240d9964.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-b68b3c70.92daca62.js


+ 6 - 6
src/components/Common/BaseForm.vue

@@ -573,24 +573,24 @@ export default {
       this.changeHandle(file)
     },
     uploadGifBefore(file) {
-      const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png' || file.type === 'image/gif'
-      const isLtM = file.size / 1024 / 1024 < 30
+      const isJPGPNG = file.type.toLowerCase() === 'image/jpeg' || file.type.toLowerCase().toLowerCase() === 'image/png' || file.type.toLowerCase() === 'image/gif'
+      const isLtM = file.size / 1024 / 1024 < 500
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG GIF 格式!')
       }
       if (!isLtM) {
-        this.$message.error('上传图片大小不能超过 30M!')
+        this.$message.error('上传图片大小不能超过 500M!')
       }
       return isJPGPNG && isLtM
     },
     uploadBefore(file) {
-      const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png' || file.type === 'image/gif'
-      const isLtM = file.size / 1024 / 1024 < 10
+      const isJPGPNG = file.type.toLowerCase() === 'image/jpeg' || file.type.toLowerCase() === 'image/png' || file.type.toLowerCase() === 'image/gif'
+      const isLtM = file.size / 1024 / 1024 < 500
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG GIF 格式!')
       }
       if (!isLtM) {
-        this.$message.error('上传图片大小不能超过 10M!')
+        this.$message.error('上传图片大小不能超过 500M!')
       }
       return isJPGPNG && isLtM
     },

+ 3 - 3
src/views/facillity/components/popup/IndexEdit.vue

@@ -102,13 +102,13 @@ export default {
       this.imagesArr = [...this.imagesArr]
     },
     roomAreaUploadBefore(file) {
-      const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
-      const isLtM = file.size / 1024 / 1024 < 10
+      const isJPGPNG = file.type.toLowerCase() === 'image/jpeg' || file.type.toLowerCase() === 'image/png'
+      const isLtM = file.size / 1024 / 1024 < 500
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG GIF 格式!')
       }
       if (!isLtM) {
-        this.$message.error('上传图片大小不能超过 10M!')
+        this.$message.error('上传图片大小不能超过 500M!')
       }
       return isJPGPNG && isLtM
     },

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

@@ -306,13 +306,13 @@ export default {
       // this.changeHandle(file)
     },
     roomAreaUploadBefore(file) {
-      const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
-      const isLtM = file.size / 1024 / 1024 < 10
+      const isJPGPNG = file.type.toLowerCase() === 'image/jpeg' || file.type.toLowerCase() === 'image/png'
+      const isLtM = file.size / 1024 / 1024 < 500
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG GIF 格式!')
       }
       if (!isLtM) {
-        this.$message.error('上传图片大小不能超过 10M!')
+        this.$message.error('上传图片大小不能超过 500M!')
       }
       return isJPGPNG && isLtM
     },

+ 3 - 3
src/views/house/components/popup/LotteryEdit.vue

@@ -188,13 +188,13 @@ export default {
       this.comImgSuccess('infoImg', res)
     },
     imgUploadBefore(file) {
-      const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
-      const isLtM = file.size / 1024 / 1024 < 5
+      const isJPGPNG = file.type.toLowerCase() === 'image/jpeg' || file.type.toLowerCase() === 'image/png'
+      const isLtM = file.size / 1024 / 1024 < 500
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG 格式!')
       }
       if (!isLtM) {
-        this.$message.error('上传图片大小不能超过 5M!')
+        this.$message.error('上传图片大小不能超过 500M!')
       }
       return isJPGPNG && isLtM
     },

+ 3 - 3
src/views/house/components/popup/LotteryEdit2.vue

@@ -152,13 +152,13 @@ export default {
       this.comImgSuccess('infoImg', res)
     },
     imgUploadBefore(file) {
-      const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
-      const isLtM = file.size / 1024 / 1024 < 5
+      const isJPGPNG = file.type.toLowerCase() === 'image/jpeg' || file.type.toLowerCase() === 'image/png'
+      const isLtM = file.size / 1024 / 1024 < 500
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG 格式!')
       }
       if (!isLtM) {
-        this.$message.error('上传图片大小不能超过 5M!')
+        this.$message.error('上传图片大小不能超过 500M!')
       }
       return isJPGPNG && isLtM
     },

+ 3 - 3
src/views/house/components/popup/NewsEdit.vue

@@ -79,13 +79,13 @@ export default {
       this.imagesArr.push(`${data.url}`)
     },
     roomAreaUploadBefore(file) {
-      const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
-      const isLtM = file.size / 1024 / 1024 < 10
+      const isJPGPNG = file.type.toLowerCase() === 'image/jpeg' || file.type.toLowerCase() === 'image/png'
+      const isLtM = file.size / 1024 / 1024 < 500
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG GIF 格式!')
       }
       if (!isLtM) {
-        this.$message.error('上传图片大小不能超过 10M!')
+        this.$message.error('上传图片大小不能超过 500M!')
       }
       return isJPGPNG && isLtM
     },

+ 3 - 3
src/views/house/components/popup/PhotoEdit.vue

@@ -103,13 +103,13 @@ export default {
       this.imagesArr = [...this.imagesArr]
     },
     roomAreaUploadBefore(file) {
-      const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
-      const isLtM = file.size / 1024 / 1024 < 10
+      const isJPGPNG = file.type.toLowerCase() === 'image/jpeg' || file.type.toLowerCase() === 'image/png'
+      const isLtM = file.size / 1024 / 1024 < 500
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG GIF 格式!')
       }
       if (!isLtM) {
-        this.$message.error('上传图片大小不能超过 10M!')
+        this.$message.error('上传图片大小不能超过 500M!')
       }
       return isJPGPNG && isLtM
     },

+ 3 - 3
src/views/house/components/popup/PhotoEdit2.vue

@@ -103,13 +103,13 @@ export default {
       this.imagesArr = [...this.imagesArr]
     },
     roomAreaUploadBefore(file) {
-      const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
-      const isLtM = file.size / 1024 / 1024 < 10
+      const isJPGPNG = file.type.toLowerCase() === 'image/jpeg' || file.type.toLowerCase() === 'image/png'
+      const isLtM = file.size / 1024 / 1024 < 500
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG GIF 格式!')
       }
       if (!isLtM) {
-        this.$message.error('上传图片大小不能超过 10M!')
+        this.$message.error('上传图片大小不能超过 500M!')
       }
       return isJPGPNG && isLtM
     },

+ 3 - 3
src/views/room/components/popup/IndexEdit.vue

@@ -258,13 +258,13 @@ export default {
       this.imagesArr.push(`${data.url}`)
     },
     roomAreaUploadBefore(file) {
-      const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
-      const isLtM = file.size / 1024 / 1024 < 10
+      const isJPGPNG = file.type.toLowerCase() === 'image/jpeg' || file.type.toLowerCase() === 'image/png'
+      const isLtM = file.size / 1024 / 1024 < 500
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG GIF 格式!')
       }
       if (!isLtM) {
-        this.$message.error('上传图片大小不能超过 10M!')
+        this.$message.error('上传图片大小不能超过 500M!')
       }
       return isJPGPNG && isLtM
     },

+ 3 - 3
src/views/room/components/popup/RentEdit.vue

@@ -102,13 +102,13 @@ export default {
       this.imagesArr.push(`${data.url}`)
     },
     roomAreaUploadBefore(file) {
-      const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
-      const isLtM = file.size / 1024 / 1024 < 10
+      const isJPGPNG = file.type.toLowerCase() === 'image/jpeg' || file.type.toLowerCase() === 'image/png'
+      const isLtM = file.size / 1024 / 1024 < 500
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG GIF 格式!')
       }
       if (!isLtM) {
-        this.$message.error('上传图片大小不能超过 10M!')
+        this.$message.error('上传图片大小不能超过 500M!')
       }
       return isJPGPNG && isLtM
     },

+ 3 - 3
src/views/school/components/popup/IndexEdit.vue

@@ -102,13 +102,13 @@ export default {
       this.imagesArr = [...this.imagesArr]
     },
     roomAreaUploadBefore(file) {
-      const isJPGPNG = file.type === 'image/jpeg' || file.type === 'image/png'
-      const isLtM = file.size / 1024 / 1024 < 10
+      const isJPGPNG = file.type.toLowerCase() === 'image/jpeg' || file.type.toLowerCase() === 'image/png'
+      const isLtM = file.size / 1024 / 1024 < 500
       if (!isJPGPNG) {
         this.$message.error('上传图片只能是 JPG PNG GIF 格式!')
       }
       if (!isLtM) {
-        this.$message.error('上传图片大小不能超过 10M!')
+        this.$message.error('上传图片大小不能超过 500M!')
       }
       return isJPGPNG && isLtM
     },

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác