From 9e0a0749233c15711fd3259afa1f19867d214df7 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 22 六月 2020 16:07:35 +0800
Subject: [PATCH] 2020-06-22

---
 src/templates/zshare/formconfig.jsx |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index 54aab87..6fb0b3e 100644
--- a/src/templates/zshare/formconfig.jsx
+++ b/src/templates/zshare/formconfig.jsx
@@ -526,7 +526,7 @@
     {
       type: 'select',
       key: 'fstMenuId',
-      label: '涓�绾ц彍鍗�',
+      label: Formdict['model.menu.level1'],
       initVal: menu.fstMenuId,
       required: true,
       readonly: false,
@@ -535,7 +535,7 @@
     {
       type: 'select',
       key: 'parentId',
-      label: '浜岀骇鑿滃崟',
+      label: Formdict['model.menu.level2'],
       initVal: menu.ParentID,
       required: true,
       readonly: false,
@@ -2730,6 +2730,21 @@
         value: 'all',
         text: '鍏ㄩ儴'
       }]
-    }
+    },
+    {
+      type: 'radio',
+      key: 'display',
+      label: '鏄剧ず',
+      initVal: card.display || 'inline',
+      required: false,
+      forbid: !['avatar'].includes(_type),
+      options: [{
+        value: 'block',
+        text: '鏁磋'
+      }, {
+        value: 'inline',
+        text: '鑷姩'
+      }]
+    },
   ]
 }
\ No newline at end of file

--
Gitblit v1.8.0