From ab60d53b67f802878662aaa5a5b52580cca421b8 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 26 九月 2020 08:52:46 +0800
Subject: [PATCH] 2020-09-26

---
 src/menu/components/card/cardcellcomponent/formconfig.jsx |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/src/menu/components/card/cardcellcomponent/formconfig.jsx b/src/menu/components/card/cardcellcomponent/formconfig.jsx
index 891ba78..40fa793 100644
--- a/src/menu/components/card/cardcellcomponent/formconfig.jsx
+++ b/src/menu/components/card/cardcellcomponent/formconfig.jsx
@@ -47,6 +47,14 @@
       options: []
     },
     {
+      type: 'file',
+      key: 'url',
+      label: '鍥剧墖',
+      initVal: card.url || '',
+      maxfile: 1,
+      required: false
+    },
+    {
       type: 'text',
       key: 'value',
       label: '鍐呭',
@@ -182,6 +190,15 @@
     },
     {
       type: 'number',
+      key: 'maxValue',
+      min: 1,
+      label: '鏈�澶у��',
+      initVal: card.maxValue || 100,
+      tooltip: '鍗宠繘搴︿负100%鏃剁殑鍊笺��',
+      required: true,
+    },
+    {
+      type: 'number',
       key: 'width',
       min: 1,
       max: 24,
@@ -218,7 +235,7 @@
       key: 'radius',
       label: '鍦嗚',
       initVal: card.radius || 'false',
-      required: true,
+      required: false,
       options: [
         { value: 'true', text: '鏈�' },
         { value: 'false', text: '鏃�' }

--
Gitblit v1.8.0