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)