From 54fc813f586fda01f823ea32f796027809d3e11b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 15 三月 2023 17:22:33 +0800
Subject: [PATCH] 2023-03-15

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

diff --git a/src/menu/components/card/doublecardcomponent/index.jsx b/src/menu/components/card/doublecardcomponent/index.jsx
index f6d1544..c5853a4 100644
--- a/src/menu/components/card/doublecardcomponent/index.jsx
+++ b/src/menu/components/card/doublecardcomponent/index.jsx
@@ -278,7 +278,7 @@
                   <NormalForm title={'寰幆鍗$墖璁剧疆'} width={950} update={(res) => this.updateSetting(res)} getForms={this.getSettingForms}>
                     <EditOutlined className="edit" title="缂栬緫"/>
                   </NormalForm>
-                  <CopyComponent type="cardcell" card={card}/>
+                  <CopyComponent type="cardcell" card={{...card, backElements: []}}/>
                   <PasteController options={['action', 'customCardElement']} updateConfig={(element, resolve) => this.paste(element, resolve, 'main')} />
                   <FontColorsOutlined className="style" title="璋冩暣鏍峰紡" onClick={() => this.changeStyle()} />
                 </div>
@@ -298,7 +298,7 @@
                     <NormalForm title={'寰幆瀛愬崱鐗囪缃�'} width={950} update={(res) => this.updateSetting(res, 'sub')} getForms={this.getBackSettingForms}>
                       <EditOutlined className="edit" title="缂栬緫"/>
                     </NormalForm>
-                    <CopyComponent type="cardcell" card={card}/>
+                    <CopyComponent type="cardcell" card={{...card, elements: card.backElements, backElements: []}}/>
                     <PasteController options={['action', 'customCardElement']} updateConfig={(element, resolve) => this.paste(element, resolve, 'sub')} />
                     <FontColorsOutlined className="style" title="璋冩暣鏍峰紡" onClick={() => this.changeStyle('sub')} />
                   </div>

--
Gitblit v1.8.0