From 051981a2211bb86f88a6d68f2e29816f8caeac20 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 04 八月 2023 09:18:10 +0800
Subject: [PATCH] 2023-08-04

---
 src/templates/comtableconfig/index.jsx |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/src/templates/comtableconfig/index.jsx b/src/templates/comtableconfig/index.jsx
index 44a0274..a58bff3 100644
--- a/src/templates/comtableconfig/index.jsx
+++ b/src/templates/comtableconfig/index.jsx
@@ -552,7 +552,6 @@
         }
       }).then(resp => {
         if (resp === false) return
-        let localParam = fromJS(param).toJS()
         Api.getSystemConfig(param).then(response => {
           if (response.status) {
             this.setState({
@@ -561,15 +560,7 @@
               originMenu: fromJS(_config).toJS()
             })
 
-            localParam.func = 'sPC_TrdMenu_AddUpt_For_Local'
-            delete localParam.LongParam
-            delete localParam.PageParam
-            delete localParam.Template
-            delete localParam.Sort
-            delete localParam.EasyCode
-            delete localParam.open_edition
-
-            this.submitAction(btnParam, localParam)
+            this.submitAction(btnParam)
           } else {
             this.setState({
               menuloading: false,
@@ -589,7 +580,7 @@
   /**
    * @description 淇濆瓨鎴栦慨鏀硅彍鍗曟寜閽泦
    */
-  submitAction = (btnParam, localParam) => {
+  submitAction = (btnParam) => {
     const { config } = this.state
 
     new Promise(resolve => {
@@ -685,7 +676,6 @@
           })
         }
         this.props.reloadmenu()
-        Api.genericInterface(localParam)
       } else {
         this.setState({
           menuloading: false,

--
Gitblit v1.8.0