From ab617fd5a6396782038cf74f050329f67b3297ef Mon Sep 17 00:00:00 2001
From: yz <yz_0812@outlook.com>
Date: 星期一, 29 三月 2021 22:47:55 +0800
Subject: [PATCH] fix(bug修复): 修改bug

---
 src/views/yunpan/zhishou.vue  |    2 +-
 src/views/yunpan/uploadfj.vue |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/yunpan/uploadfj.vue b/src/views/yunpan/uploadfj.vue
index 71e9168..1d276df 100644
--- a/src/views/yunpan/uploadfj.vue
+++ b/src/views/yunpan/uploadfj.vue
@@ -44,7 +44,7 @@
             <i
               class="el-icon-bell"
               style="color: #a32c30; margin-right: 10px;"
-            />提示:文件不要超过10个,单个文件大小不超过50M,单击或者拖动文件到下面区域,支持单个或批量文件的上传。</el-col>
+            />提示:文件不要超过10个,单个文件大小不超过100M,单击或者拖动文件到下面区域,支持单个或批量文件的上传。</el-col>
           </el-row>
           <el-row style="background-color: rgba(0,0,0,0.2);">
             <el-col :span="16">
@@ -452,9 +452,9 @@
     },
     beforeAvatarUpload(file) {
       this.fileDate.labelid = this.activities[this.beforeIndex].id
-      const isLt50M = file.size / 1024 / 1024 < 50
+      const isLt50M = file.size / 1024 / 1024 < 100
       if (!isLt50M) {
-        this.$message.error('上传文件不能超过 50MB!')
+        this.$message.error('上传文件不能超过 100MB!')
       }
       return isLt50M
     },
diff --git a/src/views/yunpan/zhishou.vue b/src/views/yunpan/zhishou.vue
index 5d80b9a..dbd04d9 100644
--- a/src/views/yunpan/zhishou.vue
+++ b/src/views/yunpan/zhishou.vue
@@ -280,7 +280,7 @@
       rules: {
         foldername: [
           { required: true, message: '请输入文件夹名称', trigger: 'blur' },
-          { min: 3, max: 10, message: '长度在 3 到 10 个字符', trigger: 'blur' }
+          { min: 3, max: 10, message: '长度在 3 到 20 个字符', trigger: 'blur' }
         ],
         fileName: [
           { required: true, message: '请输入文件名称', trigger: 'blur' },

--
Gitblit v1.8.0