From 7c1525fd21783509bce3bf5c71ff400b0e89f68c Mon Sep 17 00:00:00 2001
From: QianRj <14974713+qianrj@user.noreply.gitee.com>
Date: 星期三, 27 十一月 2024 17:25:09 +0800
Subject: [PATCH] refactor: 补充登录页与注册页的国际化内容并添加切换语言按钮

---
 src/components/ImageUpload/index.vue |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue
index 1c6dcd1..0778121 100644
--- a/src/components/ImageUpload/index.vue
+++ b/src/components/ImageUpload/index.vue
@@ -139,6 +139,10 @@
     proxy?.$modal.msgError(`鏂囦欢鏍煎紡涓嶆纭�, 璇蜂笂浼�${props.fileType.join('/')}鍥剧墖鏍煎紡鏂囦欢!`);
     return false;
   }
+  if (file.name.includes(',')) {
+    proxy?.$modal.msgError('鏂囦欢鍚嶄笉姝g‘锛屼笉鑳藉寘鍚嫳鏂囬�楀彿!');
+    return false;
+  }
   if (props.fileSize) {
     const isLt = file.size / 1024 / 1024 < props.fileSize;
     if (!isLt) {

--
Gitblit v1.9.3