From d1cd5af5adb53e91efdd278328e1b6f8ad834fb5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 06 二月 2025 21:11:56 +0800
Subject: [PATCH] Merge branch 'positec' into dms

---
 src/menu/components/share/actioncomponent/dragaction/index.jsx |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/dragaction/index.jsx b/src/menu/components/share/actioncomponent/dragaction/index.jsx
index e7ed384..f0ba685 100644
--- a/src/menu/components/share/actioncomponent/dragaction/index.jsx
+++ b/src/menu/components/share/actioncomponent/dragaction/index.jsx
@@ -1,6 +1,7 @@
 import React, { useState } from 'react'
 import { useDrop } from 'react-dnd'
 import { is, fromJS } from 'immutable'
+import { message } from 'antd'
 import update from 'immutability-helper'
 
 import Utils from '@/utils/utils.js'
@@ -69,16 +70,8 @@
     }
 
     copycard.uuid = Utils.getuuid()
-    copycard.originCard = card
 
     try {
-      delete _val.$srcId
-    
-      let srcid = localStorage.getItem(window.location.href.split('#')[0] + 'srcId')
-      if (srcid) {
-        _val.$srcId = srcid
-      }
-      
       _val = window.btoa(window.encodeURIComponent(JSON.stringify(_val)))
     } catch (e) {
       console.warn('Stringify Failure')
@@ -92,13 +85,17 @@
       oInput.select()
       document.execCommand('Copy')
       document.body.removeChild(oInput)
+
+      message.success('澶嶅埗鎴愬姛銆�')
+    } else {
+      message.warning('澶嶅埗澶辫触銆�')
     }
 
-    const { index: overIndex } = findCard(id)
+    // const { index: overIndex } = findCard(id)
 
-    const _cards = update(cards, { $splice: [[overIndex + 1, 0, copycard]] })
+    // const _cards = update(cards, { $splice: [[overIndex + 1, 0, copycard]] })
 
-    handleList(_cards, copycard)
+    // handleList(_cards, copycard)
   }
 
   const [, drop] = useDrop({

--
Gitblit v1.8.0