From 596e4fe7563124da635b48c3aa5ac6a407db7834 Mon Sep 17 00:00:00 2001
From: 牟雷 <717526790@qq.com>
Date: Mon, 17 Feb 2025 20:19:22 +0800
Subject: [PATCH] config(nacos):增加nacos2.5.0配置文件sql

---
 ruoyi-ui/src/components/ImageUpload/index.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/components/ImageUpload/index.vue b/ruoyi-ui/src/components/ImageUpload/index.vue
index f3370df..7da56eb 100644
--- a/ruoyi-ui/src/components/ImageUpload/index.vue
+++ b/ruoyi-ui/src/components/ImageUpload/index.vue
@@ -130,7 +130,11 @@
       }
 
       if (!isImg) {
-        this.$modal.msgError(`文件格式不正确, 请上传${this.fileType.join("/")}图片格式文件!`);
+        this.$modal.msgError(`文件格式不正确,请上传${this.fileType.join("/")}图片格式文件!`);
+        return false;
+      }
+      if (file.name.includes(',')) {
+        this.$modal.msgError('文件名不正确,不能包含英文逗号!');
         return false;
       }
       if (this.fileSize) {

--
Gitblit v1.9.3