From 10e3aae03e62df2cd8a20510fc0bc2e54d53d3a8 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 26 十一月 2024 21:31:51 +0800
Subject: [PATCH] 项目投资管理页面+项目投资及资金来源页面

---
 src/components/FileUpload/index.vue |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue
index 12ad4ea..e396687 100644
--- a/src/components/FileUpload/index.vue
+++ b/src/components/FileUpload/index.vue
@@ -15,7 +15,7 @@
       ref="fileUpload"
     >
       <!-- 涓婁紶鎸夐挳 -->
-      <el-button size="mini" type="primary">閫夊彇鏂囦欢</el-button>
+      <el-button icon="el-icon-upload2" size="small" type="primary">涓婁紶</el-button>
       <!-- 涓婁紶鎻愮ず -->
       <div class="el-upload__tip" slot="tip" v-if="showTip">
         璇蜂笂浼�
@@ -119,14 +119,9 @@
         const fileExt = fileName[fileName.length - 1];
         const isTypeOk = this.fileType.indexOf(fileExt) >= 0;
         if (!isTypeOk) {
-          this.$modal.msgError(`鏂囦欢鏍煎紡涓嶆纭紝璇蜂笂浼�${this.fileType.join("/")}鏍煎紡鏂囦欢!`);
+          this.$modal.msgError(`鏂囦欢鏍煎紡涓嶆纭�, 璇蜂笂浼�${this.fileType.join("/")}鏍煎紡鏂囦欢!`);
           return false;
         }
-      }
-      // 鏍℃鏂囦欢鍚嶆槸鍚﹀寘鍚壒娈婂瓧绗�
-      if (file.name.includes(',')) {
-        this.$modal.msgError('鏂囦欢鍚嶄笉姝g‘锛屼笉鑳藉寘鍚嫳鏂囬�楀彿!');
-        return false;
       }
       // 鏍℃鏂囦欢澶у皬
       if (this.fileSize) {

--
Gitblit v1.8.0