From 6d71b3fac75a35e8ebf08e71ba40c5be8a586024 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 08 九月 2021 18:10:17 +0800
Subject: [PATCH] 2021-09-08

---
 src/menu/components/share/actioncomponent/formconfig.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx
index acdf56d..6eb2dad 100644
--- a/src/menu/components/share/actioncomponent/formconfig.jsx
+++ b/src/menu/components/share/actioncomponent/formconfig.jsx
@@ -75,7 +75,7 @@
     if (appMenus) {
       try {
         appMenus = JSON.parse(appMenus)
-      } catch {
+      } catch (e) {
         appMenus = []
       }
     } else {
@@ -87,7 +87,7 @@
       funTypes = [
         { value: 'mkBinding', text: '寮�閫氭壂鐮佺櫥褰�' },
         { value: 'mkUnBinding', text: '鐢ㄦ埛瑙g粦' },
-        { value: 'scan', text: '鎵竴鎵�' },
+        // { value: 'scan', text: '鎵竴鎵�' },
         { value: 'reAuth', text: '閲嶆柊鎺堟潈' },
       ]
     } else {
@@ -563,7 +563,7 @@
       forbid: appType !== 'pc' && appType !== 'mob',
       required: false,
       allowClear: true,
-      options: appMenus
+      options: appType !== 'mob' ? appMenus : [...appMenus, {value: 'goback', text: '杩斿洖'}]
     },
     {
       type: 'text',

--
Gitblit v1.8.0