From ae46c8e640ed64abd7605b289554377e0cdc0cb7 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 04 十月 2023 22:10:30 +0800
Subject: [PATCH] 2023-10-04

---
 src/tabviews/zshare/mutilform/index.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/zshare/mutilform/index.jsx b/src/tabviews/zshare/mutilform/index.jsx
index 6ad9729..b1f23a7 100644
--- a/src/tabviews/zshare/mutilform/index.jsx
+++ b/src/tabviews/zshare/mutilform/index.jsx
@@ -1223,10 +1223,10 @@
                   // eslint-disable-next-line
                   let func = new Function('value', 'data', item.func)
                   _item.value = func(_item.value, record)
+                  _item.value = _item.value !== undefined ? _item.value : ''
                 } catch (e) {
-                  if (window.GLOB.debugger === true) {
-                    console.warn(e)
-                  }
+                  console.warn(e)
+                  _item.value = ''
                 }
               } else {
                 _item.value = _item.value.replace(/(^\s*|\s*$)/g, '')

--
Gitblit v1.8.0