From e078f8984a300eb4d7c44896985d34566ba122ee Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 04 一月 2023 17:24:30 +0800
Subject: [PATCH] 2023-01-04
---
src/menu/components/chart/chart-custom/chartcompile/formconfig.jsx | 23 +++++++++++++++++------
1 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/src/menu/components/chart/chart-custom/chartcompile/formconfig.jsx b/src/menu/components/chart/chart-custom/chartcompile/formconfig.jsx
index 58786ea..11c362b 100644
--- a/src/menu/components/chart/chart-custom/chartcompile/formconfig.jsx
+++ b/src/menu/components/chart/chart-custom/chartcompile/formconfig.jsx
@@ -54,14 +54,25 @@
required: true
},
{
- type: 'number',
+ type: 'styleInput',
key: 'height',
- label: '楂樺害',
+ label: '鍥捐〃楂樺害',
initVal: card.height,
- min: 100,
- max: 1000,
- decimal: 0,
- required: true
+ tooltip: '鍥捐〃缁樺浘鍖哄煙鐨勯珮搴︼紝涓嶅寘鎷爣棰樺強鍐呭杈硅窛銆�',
+ required: true,
+ options: ['px', 'vh', 'vw']
+ },
+ {
+ type: 'radio',
+ key: 'permission',
+ label: '鏉冮檺楠岃瘉',
+ initVal: card.permission || 'false',
+ required: false,
+ options: [
+ {value: 'true', text: '鍚敤'},
+ {value: 'false', text: '绂佺敤'},
+ ],
+ forbid: !appType
},
{
type: 'select',
--
Gitblit v1.8.0