소스 검색

修改bug

shaogen1995 4 년 전
부모
커밋
1ce32caea2
4개의 변경된 파일8개의 추가작업 그리고 8개의 파일을 삭제
  1. 2 2
      src/pages/collection/collectionEdit.vue
  2. 2 2
      src/pages/exhibition/exhibitionEdit.vue
  3. 2 2
      src/pages/home/rotationEdit.vue
  4. 2 2
      src/pages/news/bookEdit.vue

+ 2 - 2
src/pages/collection/collectionEdit.vue

@@ -256,8 +256,8 @@ export default {
         } else if (!sizeOk) {
           this.$message.error('照片大小超过10M!')
           reject(file)
-        }else if(file.name.length>30){
-          this.$message.error('照片名字不能超过30个字!')
+        }else if(file.name.length>32){
+          this.$message.error('照片名字不能超过32个字!')
           reject(file)
         } else {
           resolve(file)

+ 2 - 2
src/pages/exhibition/exhibitionEdit.vue

@@ -315,8 +315,8 @@ export default {
         } else if (!sizeOk) {
           this.$message.error('照片大小超过10M!')
           reject(file)
-        }else if(file.name.length>30){
-          this.$message.error('照片名字不能超过30个字!')
+        }else if(file.name.length>32){
+          this.$message.error('照片名字不能超过32个字!')
           reject(file)
         } else {
           resolve(file)

+ 2 - 2
src/pages/home/rotationEdit.vue

@@ -189,8 +189,8 @@ export default {
         } else if (!sizeOk) {
           this.$message.error('照片大小超过10M!')
           reject(file)
-        }else if(file.name.length>30){
-          this.$message.error('照片名字不能超过30个字!')
+        }else if(file.name.length>32){
+          this.$message.error('照片名字不能超过32个字!')
           reject(file)
         } else {
           resolve(file)

+ 2 - 2
src/pages/news/bookEdit.vue

@@ -202,8 +202,8 @@ export default {
         } else if (!sizeOk) {
           this.$message.error('照片大小超过10M!')
           reject(file)
-        }else if(file.name.length>30){
-          this.$message.error('照片名字不能超过30个字!')
+        }else if(file.name.length>32){
+          this.$message.error('照片名字不能超过32个字!')
           reject(file)
         } else {
           resolve(file)