From da5bf570afb1d4dbc14078ef5e71cc679c003121 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 12 九月 2023 10:15:13 +0800
Subject: [PATCH] Merge branch 'master' into positec

---
 src/tabviews/custom/components/chart/antv-pie/index.jsx |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/src/tabviews/custom/components/chart/antv-pie/index.jsx b/src/tabviews/custom/components/chart/antv-pie/index.jsx
index 3605b32..f589d40 100644
--- a/src/tabviews/custom/components/chart/antv-pie/index.jsx
+++ b/src/tabviews/custom/components/chart/antv-pie/index.jsx
@@ -1031,16 +1031,9 @@
       let menu_id = plot.linkmenu.slice(-1)[0]
       
       chart.on('element:dblclick', (ev) => {
-        let menu = window.GLOB.mkThdMenus.filter(m => m.MenuID === menu_id)[0] || ''
+        let menu = window.GLOB.mkThdMenus.get(menu_id) || ''
 
-        if (!menu) {
-          notification.warning({
-            top: 92,
-            message: '鑿滃崟宸插垹闄ゆ垨娌℃湁璁块棶鏉冮檺锛�',
-            duration: 5
-          })
-          return
-        }
+        if (!menu) return
 
         try {
           let data = ev.data.data

--
Gitblit v1.8.0