From 26d0fa42ea8c63a87e8ef93d0915f75f46fb1f9c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 24 三月 2022 11:09:53 +0800
Subject: [PATCH] 2022-03-24

---
 src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx b/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx
index 5a05c54..05158b6 100644
--- a/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx
+++ b/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx
@@ -167,8 +167,8 @@
       tooltip: '缁熻鍥捐〃閫傜敤浜庡睍绀烘暟鎹被鍨嬩负鍔ㄦ�佸�笺��',
       required: false,
       options: [
-        { value: 'query', text: Formdict['header.form.query'] },
-        { value: 'statistics', text: Formdict['header.form.statistics'] }
+        { value: 'query', text: '鏌ヨ' },
+        { value: 'statistics', text: '缁熻' }
       ]
     }, {
       type: 'select',
@@ -274,12 +274,12 @@
     }, {
       type: 'radio',
       key: 'show',
-      label: '鏍煎紡鍖�',
+      label: '鏄剧ず',
       initVal: card.show || 'value',
       required: false,
       options: [{
         value: 'value',
-        text: '鏃�'
+        text: '鏁板��'
       }, {
         value: 'percent',
         text: '鐧惧垎姣�'
@@ -405,6 +405,20 @@
         text: '闅愯棌'
       }]
     }, {
+      type: 'radio',
+      key: 'download',
+      label: '瀵煎嚭鍥剧墖',
+      initVal: card.download || 'forbid',
+      required: false,
+      forbid: appType === 'mob',
+      options: [{
+        value: 'forbid',
+        text: '绂佺敤'
+      }, {
+        value: 'enable',
+        text: '鍚敤'
+      }]
+    }, {
       type: 'number',
       key: 'barSize',
       label: '鏌卞舰瀹藉害',

--
Gitblit v1.8.0