From b5e70973340bf912b733acd737f55f90653dece8 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 03 七月 2021 09:48:25 +0800
Subject: [PATCH] 2021-07-03

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

diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx
index 9667f90..edf6181 100644
--- a/src/menu/components/share/actioncomponent/formconfig.jsx
+++ b/src/menu/components/share/actioncomponent/formconfig.jsx
@@ -204,14 +204,6 @@
       forbid: !isApp,
       options: appMenus
     },
-    // {
-    //   type: 'select',
-    //   key: 'copyMenuId',
-    //   label: '澶嶅埗鑿滃崟',
-    //   initVal: card.copyMenuId || '',
-    //   required: false,
-    //   options: appMenus
-    // },
     {
       type: 'textarea',
       key: 'url',
@@ -531,7 +523,8 @@
       tooltip: '绂佺敤鎺у埗瀛楁锛屽彲鏍规嵁鏁版嵁鎺у埗鎸夐挳鏄惁绂佺敤銆�',
       initVal: card.controlField || '',
       required: false,
-      options: [{label: '鏃�', field: ''}, ...columns]
+      allowClear: true,
+      options: columns
     },
     {
       type: 'text',
@@ -546,10 +539,11 @@
       key: 'openmenu',
       label: '鎵撳紑鑿滃崟',
       tooltip: '鎵ц鎴愬姛鍚庨渶瑕佹墦寮�鐨勮彍鍗曘��',
-      initVal: card.openmenu,
+      initVal: card.openmenu || '',
       forbid: appType !== 'pc' && appType !== 'mob',
       required: false,
-      options: [{value: '', text: '鏃�'}, ...appMenus]
+      allowClear: true,
+      options: appMenus
     },
     {
       type: 'radio',

--
Gitblit v1.8.0