From 34e7681fd12b1c4e4994d3bea1a553870e10bc50 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 11 三月 2023 17:58:54 +0800
Subject: [PATCH] 2023-03-11

---
 src/templates/modalconfig/dragelement/card.jsx |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/templates/modalconfig/dragelement/card.jsx b/src/templates/modalconfig/dragelement/card.jsx
index d4dc506..dad19c1 100644
--- a/src/templates/modalconfig/dragelement/card.jsx
+++ b/src/templates/modalconfig/dragelement/card.jsx
@@ -135,6 +135,12 @@
     formItem = <div style={{marginTop: '8px', color: 'rgba(0, 0, 0, 0.85)', lineHeight: '1.5', ...card.style}}>{card.formula}{card.postfix || ''}</div>
   } else if (card.type === 'split') {
     formItem = <div className="split-line" style={card.style}>{card.label}</div>
+  } else if (card.type === 'vercode') {
+    formItem = <Input style={{marginTop: '4px'}} placeholder={card.placeholder || ''} value={card.initval} addonAfter={
+      <Button type="link" style={{padding: 0}} size="small">
+        鑾峰彇楠岃瘉鐮�
+      </Button>
+    }/>
   } else if (card.type === 'checkcard') {
     className += ' checkcard'
     formItem = <CheckCard config={card} />

--
Gitblit v1.8.0