From 0c9972b68aaee5ce0d536bb418ebcd2887012a28 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 29 六月 2020 14:35:47 +0800 Subject: [PATCH] 2020-06-29 --- 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 6bf0af9..42b2724 100644 --- a/src/tabviews/zshare/mutilform/index.jsx +++ b/src/tabviews/zshare/mutilform/index.jsx @@ -137,9 +137,9 @@ let newval = '' - if (item.type === 'linkMain' && BData && BData.hasOwnProperty(item.field)) { - newval = BData[item.field] - } else if (item.type !== 'linkMain' && _readin && !/^date/.test(item.type) && this.props.data && this.props.data.hasOwnProperty(item.field)) { + if (item.type === 'linkMain') { + newval = BData && BData[item.field] ? BData[item.field] : '' + } else if (_readin && !/^date/.test(item.type) && this.props.data && this.props.data.hasOwnProperty(item.field)) { newval = this.props.data[item.field] } else if (item.type === 'date') { // 鏃堕棿鎼滅储 if (_readin && this.props.data && this.props.data.hasOwnProperty(item.field)) { -- Gitblit v1.8.0