From c227751acb1162e5c303fc0efc15b544d9226362 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期六, 29 六月 2024 18:53:38 +0800
Subject: [PATCH] 菜单管理新增路由名称

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

diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue
index 2deb0b4..ad67460 100644
--- a/src/components/FileUpload/index.vue
+++ b/src/components/FileUpload/index.vue
@@ -164,10 +164,11 @@
 
 // 鑾峰彇鏂囦欢鍚嶇О
 function getFileName(name) {
+  // 濡傛灉鏄痷rl閭d箞鍙栨渶鍚庣殑鍚嶅瓧 濡傛灉涓嶆槸鐩存帴杩斿洖
   if (name.lastIndexOf("/") > -1) {
     return name.slice(name.lastIndexOf("/") + 1);
   } else {
-    return "";
+    return name;
   }
 }
 

--
Gitblit v1.9.3