From e1281cc04b886678a5d0561af556a312ef2b9394 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 11 十一月 2019 18:12:28 +0800
Subject: [PATCH] 2019-11-11

---
 src/components/header/editmenu/index.jsx |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/components/header/editmenu/index.jsx b/src/components/header/editmenu/index.jsx
index 1a4c061..df719f4 100644
--- a/src/components/header/editmenu/index.jsx
+++ b/src/components/header/editmenu/index.jsx
@@ -61,7 +61,7 @@
       this.setState({
         confirmLoading: true
       })
-      Api.submitInterface(param).then(res => {
+      Api.getSystemConfig(param).then(res => {
         if (res.status) {
           this.setState({
             confirmLoading: false,
@@ -100,7 +100,7 @@
       this.setState({
         confirmLoading: true
       })
-      Api.submitInterface(param).then(res => {
+      Api.getSystemConfig(param).then(res => {
         if (res.status) {
           this.setState({
             confirmLoading: false,
@@ -144,7 +144,7 @@
           func: 'sPC_MainMenu_Del',
           MenuID: _this.state.editMenu.MenuID
         }
-        return Api.submitInterface(param).then(res => {
+        return Api.getSystemConfig(param).then(res => {
           if (res.status) {
             _this.setState({
               editMvisible: false,
@@ -178,7 +178,7 @@
       })
       let defers = this.refs.trawmenu.state.targetKeys.map(item => {
         return new Promise((resolve) => {
-          Api.submitInterface({
+          Api.getSystemConfig({
             func: 'sPC_MainMenu_ReDel',
             MenuID: item
           }).then(res => {
@@ -246,7 +246,7 @@
         okText: this.state.dict['header.confirm'],
         cancelText: this.state.dict['header.cancel'],
         onOk() {
-          return Api.submitInterface(param).then(res => {
+          return Api.getSystemConfig(param).then(res => {
             if (res.status) {
               _this.props.reload()
             } else {
@@ -264,7 +264,7 @@
       this.setState({
         thawMvisible: true
       })
-      Api.submitInterface({
+      Api.getSystemConfig({
         func: 'sPC_Get_FrozenMenu',
         ParentID: '0',
         TYPE: 10
@@ -347,8 +347,8 @@
         {/* 缂栬緫鑿滃崟妯℃�佹 */}
         <Modal
           title={this.state.dict['header.menu.editTitle']}
-          okText={this.state.dict['header.confirm']}
-          cancelText={this.state.dict['header.cancel']}
+          // okText={this.state.dict['header.confirm']}
+          // cancelText={this.state.dict['header.cancel']}
           visible={this.state.editMvisible}
           footer={null}
           onCancel={this.editMemuCancel}

--
Gitblit v1.8.0