From 5c1e5b08d28251186e99cf5e24c5114c404dc968 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期二, 02 四月 2024 08:59:46 +0800 Subject: [PATCH] 修改 --- web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue b/web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue index 6ae2af8..e19b826 100644 --- a/web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue +++ b/web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue @@ -64,6 +64,10 @@ this.$message.error("鏈�澶т笂浼�5M") return false } + if (fileSize = 0) { + this.$message.error("鏈笂浼犲浘鐗�") + return false + } }, // 鏂囦欢鏁伴噺杩囧鏃舵彁閱� handleExceed() { -- Gitblit v1.9.1