From 2504ff3e6e7143d3afba45527ef00b173376f7f8 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 14 二月 2022 11:27:26 +0800
Subject: [PATCH] 2022-02-14

---
 src/templates/sharecomponent/columncomponent/gridbtnform/index.jsx |   44 +++++++++++++++-----------------------------
 1 files changed, 15 insertions(+), 29 deletions(-)

diff --git a/src/templates/sharecomponent/columncomponent/gridbtnform/index.jsx b/src/templates/sharecomponent/columncomponent/gridbtnform/index.jsx
index 17b5968..10844a5 100644
--- a/src/templates/sharecomponent/columncomponent/gridbtnform/index.jsx
+++ b/src/templates/sharecomponent/columncomponent/gridbtnform/index.jsx
@@ -21,7 +21,7 @@
         required: true
       },
       {
-        type: 'select',
+        type: 'radio',
         key: 'Align',
         label: this.props.dict['model.form.align'],
         initVal: this.props.card.Align,
@@ -45,34 +45,20 @@
         initVal: this.props.card.Width,
         required: true
       },
-      // {
-      //   type: 'select',
-      //   key: 'style',
-      //   label: this.props.dict['model.form.style'],
-      //   initVal: this.props.card.style,
-      //   required: true,
-      //   options: [{
-      //     MenuID: 'button',
-      //     text: this.props.dict['header.form.button']
-      //   }, {
-      //     MenuID: 'text',
-      //     text: this.props.dict['model.form.href']
-      //   }]
-      // },
-      // {
-      //   type: 'select',
-      //   key: 'show',
-      //   label: this.props.dict['header.form.order'],
-      //   initVal: this.props.card.show,
-      //   required: true,
-      //   options: [{
-      //     MenuID: 'horizontal',
-      //     text: this.props.dict['header.form.horizontal']
-      //   }, {
-      //     MenuID: 'vertical',
-      //     text: this.props.dict['header.form.vertical']
-      //   }]
-      // }
+      {
+        type: 'radio',
+        key: 'position',
+        label: '鏄剧ず浣嶇疆',
+        initVal: this.props.card.position || 'right',
+        required: true,
+        options: [{
+          MenuID: 'right',
+          text: '鍙充晶'
+        }, {
+          MenuID: 'left',
+          text: '宸︿晶'
+        }]
+      }
     ]
   }
 

--
Gitblit v1.8.0