From f2b6db6afa76ff6fe1b13c605c89e0b201a79177 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 20 六月 2023 15:42:09 +0800
Subject: [PATCH] 2023-06-20

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

diff --git a/src/menu/components/card/cardcellcomponent/formconfig.jsx b/src/menu/components/card/cardcellcomponent/formconfig.jsx
index 76dc518..2e494ac 100644
--- a/src/menu/components/card/cardcellcomponent/formconfig.jsx
+++ b/src/menu/components/card/cardcellcomponent/formconfig.jsx
@@ -6,12 +6,14 @@
  * @param {*} type
  */
 export function getCardCellForm (card, cards, cardCell) {
+  let appType = sessionStorage.getItem('appType')
+
   let _options = [
     { value: 'text', text: '鏂囨湰'},
     { value: 'number', text: '鏁板��'},
     { value: 'picture', text: '鍥剧墖'},
     { value: 'video', text: '瑙嗛'},
-    { value: 'icon', text: '鍥炬爣'},
+    { value: 'icon', text: '鎻愮ず锛堝浘鏍囷級'},
     { value: 'slider', text: '杩涘害鏉�'},
     { value: 'splitline', text: '鍒嗗壊绾�'},
     { value: 'barcode', text: '鏉″舰鐮�'},
@@ -36,7 +38,6 @@
   if (card.eleType === 'icon' && card.datatype === 'dynamic' && !card.field) { // 鎷栨嫿娣诲姞绫诲瀷杞崲
     card.datatype = 'static'
   }
-  let appType = sessionStorage.getItem('appType')
 
   let tooltip = ''
   if (cardCell.$cardType === 'extendCard') {
@@ -130,6 +131,17 @@
       ]
     },
     {
+      type: 'radio',
+      key: 'tipType',
+      label: '鎻愮ず鍐呭',
+      initVal: card.tipType || 'icon',
+      required: false,
+      options: [
+        { value: 'icon', text: '鍥炬爣' },
+        { value: 'text', text: '鏂囨湰' }
+      ]
+    },
+    {
       type: 'select',
       key: 'field',
       label: '瀛楁',

--
Gitblit v1.8.0