From 50b49c1b760489c3430fc382656d57c5fbbab07c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 29 四月 2024 16:07:24 +0800
Subject: [PATCH] 2024-04-29

---
 src/menu/components/card/prop-card/index.jsx |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/menu/components/card/prop-card/index.jsx b/src/menu/components/card/prop-card/index.jsx
index ff9f81e..c0b2914 100644
--- a/src/menu/components/card/prop-card/index.jsx
+++ b/src/menu/components/card/prop-card/index.jsx
@@ -315,6 +315,13 @@
   updateWrap = (res) => {
     const { card } = this.state
 
+    if (res.interaction) {
+      if (res.interaction.includes('scale')) {
+        res.scale = 'true'
+      }
+      delete res.interaction
+    }
+
     let _card = {...card, wrap: res}
 
     if (res.datatype === 'static') {

--
Gitblit v1.8.0