From 10505e3f2b515a9e0c94496b2bc8340316863d64 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 11 一月 2022 09:39:34 +0800
Subject: [PATCH] 2022-01-11

---
 src/views/pcdesign/index.jsx |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/views/pcdesign/index.jsx b/src/views/pcdesign/index.jsx
index d78d938..be624a1 100644
--- a/src/views/pcdesign/index.jsx
+++ b/src/views/pcdesign/index.jsx
@@ -1476,7 +1476,11 @@
         } else if (item.type === 'group') {
           check(item.components)
           return
+        } else if (item.subtype === 'propcard' && item.subcards.length === 0) {
+          error = `缁勪欢銆�${item.name}銆嬩腑鍗$墖涓嶅彲涓虹┖锛乣
+          return
         }
+        
         if (['propcard', 'brafteditor', 'sandbox', 'stepform', 'tabform'].includes(item.subtype) && item.wrap.datatype === 'static') return
         if (['balcony'].includes(item.type) && item.wrap.datatype === 'static') return
         

--
Gitblit v1.8.0