From 98a8e96febbe5513043602be943fbd43ef7b1d4f Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 27 十一月 2024 17:38:21 +0800 Subject: [PATCH] !160 refactor: 补充登录页与注册页的国际化内容并添加切换语言按钮 Merge pull request !160 from QianRj/补充登录页与注册页国际化内容 --- src/components/FileUpload/index.vue | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index aaaa45c..b22d09a 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -121,6 +121,11 @@ return false; } } + // 鏍℃鏂囦欢鍚嶆槸鍚﹀寘鍚壒娈婂瓧绗� + if (file.name.includes(',')) { + proxy?.$modal.msgError('鏂囦欢鍚嶄笉姝g‘锛屼笉鑳藉寘鍚嫳鏂囬�楀彿!'); + return false; + } // 鏍℃鏂囦欢澶у皬 if (props.fileSize) { const isLt = file.size / 1024 / 1024 < props.fileSize; -- Gitblit v1.9.3