From cd5079f2dbe12eb03fcef2e1898e4f013848d895 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 28 九月 2023 12:34:30 +0800
Subject: [PATCH] 2023-09-28

---
 src/tabviews/zshare/fileupload/index.jsx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/zshare/fileupload/index.jsx b/src/tabviews/zshare/fileupload/index.jsx
index f7e9866..704ea1e 100644
--- a/src/tabviews/zshare/fileupload/index.jsx
+++ b/src/tabviews/zshare/fileupload/index.jsx
@@ -156,7 +156,7 @@
 
     this.setState({filelist})
 
-    if (config.subFields) {
+    if (config.subFields && file_name) {
       let other = {}
       config.subFields.forEach((n, i) => {
         other[n.field] = file_name

--
Gitblit v1.8.0