From 98ee5d4c76d2802c552851e46bd4bb43505b4416 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 11 十一月 2020 13:28:05 +0800
Subject: [PATCH] 2020-11-11

---
 src/views/menudesign/index.jsx |   31 +++----------------------------
 1 files changed, 3 insertions(+), 28 deletions(-)

diff --git a/src/views/menudesign/index.jsx b/src/views/menudesign/index.jsx
index 0312098..dced7f4 100644
--- a/src/views/menudesign/index.jsx
+++ b/src/views/menudesign/index.jsx
@@ -160,7 +160,7 @@
       PageParam: JSON.stringify({Template: 'CustomPage', OpenType: 'newtab'}),
       LongParam: window.btoa(window.encodeURIComponent(JSON.stringify(_config))),
       LText: funcs.join(' union all '),
-      LTexttb: '', // 琛ㄥ悕
+      LTexttb: '' // 琛ㄥ悕
     }
 
     param.LText = Utils.formatOptions(param.LText)
@@ -246,31 +246,6 @@
         })
       })
     })
-
-    // Api.getSystemConfig(param).then(response => {
-    //   if (response.status) {
-    //     this.setState({
-    //       oriConfig: fromJS(config).toJS(),
-    //       openEdition: response.open_edition || '',
-    //       menuloading: false
-    //     })
-    //     notification.success({
-    //       top: 92,
-    //       message: '淇濆瓨鎴愬姛',
-    //       duration: 2
-    //     })
-    //   } else {
-    //     this.setState({
-    //       openEdition: response.open_edition || '',
-    //       menuloading: false
-    //     })
-    //     notification.warning({
-    //       top: 92,
-    //       message: response.message,
-    //       duration: 5
-    //     })
-    //   }
-    // })
   }
 
   getMenuParam = () => {
@@ -299,7 +274,6 @@
             MenuID: MenuId,
             parentId: ParentId,
             Template: 'CustomPage',
-            MenuType: MenuType,
             easyCode: '',
             enabled: false,
             MenuName: MenuName,
@@ -309,7 +283,8 @@
             style: {
               backgroundColor: '#ffffff', backgroundImage: '',
               paddingTop: '16px', paddingBottom: '80px', paddingLeft: '16px', paddingRight: '16px'
-            }
+            },
+            MenuType: MenuType
           }
         } else {
           config.uuid = MenuId

--
Gitblit v1.8.0