From f6dbdd98a13296455b8efc5dadd6e9e4eaa63693 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 11 九月 2023 18:04:37 +0800
Subject: [PATCH] 2023-09-11

---
 src/tabviews/custom/components/form/simple-form/index.jsx |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/custom/components/form/simple-form/index.jsx b/src/tabviews/custom/components/form/simple-form/index.jsx
index 60be28f..8115aea 100644
--- a/src/tabviews/custom/components/form/simple-form/index.jsx
+++ b/src/tabviews/custom/components/form/simple-form/index.jsx
@@ -25,8 +25,7 @@
     loading: false,
     data: null,
     group: null,
-    BData: '',
-    step: 0
+    BData: ''
   }
 
   UNSAFE_componentWillMount () {
@@ -208,7 +207,7 @@
   execSuccess = (btn, id) => {
     if (btn.linkmenu && btn.linkmenu.length > 0) {
       let menu_id = btn.linkmenu[btn.linkmenu.length - 1]
-      let menu = window.GLOB.mkThdMenus.filter(m => m.MenuID === menu_id)[0] || ''
+      let menu = window.GLOB.mkThdMenus.get(menu_id) || ''
 
       if (!menu) return
 

--
Gitblit v1.8.0