From d2392435048a5d75f2d10b4d88a2c8ac29a254f1 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 18 六月 2025 22:34:05 +0800
Subject: [PATCH] 2025-06-18

---
 src/menu/tableshell/card.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/menu/tableshell/card.jsx b/src/menu/tableshell/card.jsx
index 55926ea..0fb151b 100644
--- a/src/menu/tableshell/card.jsx
+++ b/src/menu/tableshell/card.jsx
@@ -7,7 +7,7 @@
 const AntvTabs = asyncComponent(() => import('@/menu/components/tabs/table-tabs'))
 const BaseTable = asyncComponent(() => import('@/menu/components/table/base-table'))
 
-const Card = ({ id, card, delCard, updateConfig }) => {
+const Card = ({ id, card, delCard, updateConfig, switchConfig }) => {
   const [, drop] = useDrop({
     accept: 'menu',
     canDrop: () => true,
@@ -20,7 +20,7 @@
     if (card.type === 'table') {
       return (<BaseTable card={card} updateConfig={updateConfig}/>)
     } else if (card.type === 'tabs') {
-      return (<AntvTabs tabs={card} updateConfig={updateConfig} deletecomponent={delCard}/>)
+      return (<AntvTabs tabs={card} updateConfig={updateConfig} switchConfig={switchConfig} deletecomponent={delCard}/>)
     }
   }
   return (

--
Gitblit v1.8.0