From abe57d274e6b12c3612788e0be3d1b9201852ebd Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 24 三月 2021 17:34:55 +0800
Subject: [PATCH] 2021-03-24

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

diff --git a/src/tabviews/zshare/mutilform/index.jsx b/src/tabviews/zshare/mutilform/index.jsx
index 56b78f9..e1d34c5 100644
--- a/src/tabviews/zshare/mutilform/index.jsx
+++ b/src/tabviews/zshare/mutilform/index.jsx
@@ -57,7 +57,9 @@
     let supItemVal = {} // 涓婄骇鑿滃崟鍒濆鍊�
     let deForms = []    // 闇�瑕佸姩鎬佽幏鍙栦笅鎷夎彍鍗曠殑琛ㄥ崟
 
-    action.fields.forEach(item => {
+    let formlist = fromJS(action.fields).toJS()
+
+    formlist.forEach(item => {
       if (item.type === 'text' || item.type === 'number') {              // 鐢ㄤ簬杩囨护涓嬫媺鑿滃崟鍏宠仈琛ㄥ崟
         _inputfields.push(item.field)
       } else if (item.type === 'textarea') {
@@ -71,7 +73,7 @@
       }
     })
 
-    let formlist = action.fields.map(item => {
+    formlist = formlist.map(item => {
       if (item.labelwidth) {
         item.labelCol = {style: {width: item.labelwidth + '%'}}
       }

--
Gitblit v1.8.0