From 86dfc90a3aa15d278f93afbf9ec42b1e89899f9b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 21 五月 2022 23:02:55 +0800
Subject: [PATCH] 2022-05-21

---
 src/views/menudesign/index.jsx |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/menudesign/index.jsx b/src/views/menudesign/index.jsx
index ec5be4e..6f1fbda 100644
--- a/src/views/menudesign/index.jsx
+++ b/src/views/menudesign/index.jsx
@@ -450,8 +450,8 @@
         if (MenuType === 'billPrint') {
           config.fstMenuId = 'BillPrintTemp'
           config.parentId = 'BillPrintTemp'
-          config.MenuName = MenuName
-          config.MenuNo = MenuNo
+          // config.MenuName = MenuName
+          // config.MenuNo = MenuNo
           config.firstCount = config.firstCount || 15
           config.everyPCount = config.everyPCount || 15
           config.lastCount = config.lastCount || ''
@@ -1116,7 +1116,7 @@
   }
 
   render () {
-    const { activeKey, comloading, MenuType, popBtn, visible, dict, MenuId, config, settingshow, ParentId, MenuName, MenuNo, menuloading, customComponents, eyeopen } = this.state
+    const { activeKey, comloading, MenuType, popBtn, visible, dict, MenuId, config, settingshow, ParentId, menuloading, customComponents, eyeopen } = this.state
 
     return (
       <ConfigProvider locale={_locale}>
@@ -1137,8 +1137,8 @@
                       config={config}
                       MenuId={MenuId}
                       parentId={ParentId}
-                      MenuName={MenuName}
-                      MenuNo={MenuNo}
+                      MenuName={config.MenuName}
+                      MenuNo={config.MenuNo}
                       updateConfig={this.updateConfig}
                     /> : null}
                     {config && MenuType === 'home' ? <HomeForm

--
Gitblit v1.8.0