From 26d0fa42ea8c63a87e8ef93d0915f75f46fb1f9c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 24 三月 2022 11:09:53 +0800
Subject: [PATCH] 2022-03-24

---
 src/menu/components/form/formaction/formconfig.jsx |   29 ++++++++++++++++++++++++-----
 1 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/src/menu/components/form/formaction/formconfig.jsx b/src/menu/components/form/formaction/formconfig.jsx
index 808208b..a66f6d7 100644
--- a/src/menu/components/form/formaction/formconfig.jsx
+++ b/src/menu/components/form/formaction/formconfig.jsx
@@ -25,19 +25,21 @@
       try {
         menulist = JSON.parse(menulist)
         menulist = menulist.map(item => ({value: item.MenuID, text: item.MenuName}))
-      } catch {
+      } catch (e) {
         menulist = []
       }
     } else {
       menulist = []
     }
-    menulist.unshift({value: '', text: '鏃�'})
+    if (appType === 'mob') {
+      menulist.push({value: 'goback', text: '杩斿洖锛堜笂涓�椤碉級'})
+    }
   } else {
     menulist = sessionStorage.getItem('fstMenuList')
     if (menulist) {
       try {
         menulist = JSON.parse(menulist)
-      } catch {
+      } catch (e) {
         menulist = []
       }
     } else {
@@ -244,10 +246,12 @@
     {
       type: (appType === 'pc' || appType === 'mob') ? 'select' : 'cascader',
       key: 'linkmenu',
-      label: '鎵撳紑鑿滃崟',
+      label: '涓嬩竴姝ユ搷浣�',
       tooltip: '鎵ц鎴愬姛鍚庨渶瑕佹墦寮�鐨勮彍鍗曘��',
       initVal: card.linkmenu,
+      help: '鍙繑鍥炰笂涓�椤点��',
       required: false,
+      allowClear: true,
       options: menulist
     },
     {
@@ -281,6 +285,21 @@
       tooltip: '鎵ц鎴愬姛鍚庨渶瑕佸埛鏂扮殑缁勪欢銆�',
       required: false,
       options: modules
-    }
+    },
+    {
+      type: 'radio',
+      key: 'reload',
+      label: '涓婁竴椤�',
+      initVal: card.reload || 'false',
+      tooltip: '鎴愬姛鍚庢槸鍚﹀埛鏂颁笂椤电殑鏁版嵁銆傛敞锛氬湪鏄庣浜慉PP鎴栧皬绋嬪簭涓湁鏁堛��',
+      forbid: appType !== 'mob',
+      options: [{
+        value: 'false',
+        text: '涓嶅埛鏂�'
+      }, {
+        value: 'true',
+        text: '鍒锋柊'
+      }]
+    },
   ]
 }

--
Gitblit v1.8.0