From 88756147643a1d4ffb840797b96ea44462b0551d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 12 七月 2022 17:19:26 +0800
Subject: [PATCH] 2022-07-12

---
 src/views/pcdesign/index.jsx |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/views/pcdesign/index.jsx b/src/views/pcdesign/index.jsx
index 32d962a..6de4ebc 100644
--- a/src/views/pcdesign/index.jsx
+++ b/src/views/pcdesign/index.jsx
@@ -1011,12 +1011,14 @@
             }
           })
         } else if (item.type === 'form') {
-          m.children = item.subcards.map(m => {
-            return {
-              key: m.uuid,
-              title: m.setting.title
-            }
-          })
+          if (item.subtype !== 'simpleform') {
+            m.children = item.subcards.map(m => {
+              return {
+                key: m.uuid,
+                title: m.setting.title
+              }
+            })
+          }
         } else if (item.type === 'table' && (item.subtype === 'normaltable' || item.subtype === 'editable')) {
           item.action && item.action.forEach(btn => {
             if (btn.hidden === 'true') return

--
Gitblit v1.8.0