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/menu/components/form/formaction/formconfig.jsx        |    2 +-
 src/menu/components/card/cardcellcomponent/formconfig.jsx |    1 +
 src/menu/components/share/actioncomponent/formconfig.jsx  |    4 ++--
 src/views/menudesign/index.jsx                            |   10 +++++-----
 4 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/menu/components/card/cardcellcomponent/formconfig.jsx b/src/menu/components/card/cardcellcomponent/formconfig.jsx
index 863b7e1..fc08b59 100644
--- a/src/menu/components/card/cardcellcomponent/formconfig.jsx
+++ b/src/menu/components/card/cardcellcomponent/formconfig.jsx
@@ -330,6 +330,7 @@
       key: 'anchors',
       label: '璺宠浆閿氱偣',
       initVal: card.anchors || [],
+      tooltip: sessionStorage.getItem('appType') === 'mob' ? '娉細灏忕▼搴忎腑鏃犳晥' : '',
       required: false,
       options: anchors
     },
diff --git a/src/menu/components/form/formaction/formconfig.jsx b/src/menu/components/form/formaction/formconfig.jsx
index 5700279..c30edb1 100644
--- a/src/menu/components/form/formaction/formconfig.jsx
+++ b/src/menu/components/form/formaction/formconfig.jsx
@@ -291,7 +291,7 @@
       key: 'anchors',
       label: '璺宠浆閿氱偣',
       initVal: card.anchors || [],
-      tooltip: '鎵ц鎴愬姛鍚庯紝闇�瑕佽烦杞殑閿氱偣',
+      tooltip: '鎵ц鎴愬姛鍚庯紝闇�瑕佽烦杞殑閿氱偣銆�' + (appType === 'mob' ? '娉細灏忕▼搴忎腑鏃犳晥' : ''),
       required: false,
       options: anchors
     },
diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx
index 7dd44d3..24fc03c 100644
--- a/src/menu/components/share/actioncomponent/formconfig.jsx
+++ b/src/menu/components/share/actioncomponent/formconfig.jsx
@@ -640,7 +640,7 @@
       key: 'switchTab',
       label: '鍒囨崲鏍囩',
       initVal: card.switchTab || [],
-      tooltip: '鎵ц鎴愬姛鍚庯紝闇�瑕佸垏鎹㈢殑鏍囩椤�',
+      tooltip: '鎵ц鎴愬姛鍚庯紝闇�瑕佸垏鎹㈢殑鏍囩椤点��' + (appType === 'mob' ? '娉細灏忕▼搴忎腑鏃犳晥' : ''),
       required: false,
       options: tabs
     },
@@ -649,7 +649,7 @@
       key: 'anchors',
       label: '璺宠浆閿氱偣',
       initVal: card.anchors || [],
-      tooltip: '鎵ц鎴愬姛鍚庯紝闇�瑕佽烦杞殑閿氱偣',
+      tooltip: '鎵ц鎴愬姛鍚庯紝闇�瑕佽烦杞殑閿氱偣銆�' + (appType === 'mob' ? '娉細灏忕▼搴忎腑鏃犳晥' : ''),
       required: false,
       options: anchors
     },
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