From 6ef9d27040d0ddc16305889b9394fafdead7710d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 18 四月 2025 17:58:33 +0800
Subject: [PATCH] 2025-04-18

---
 src/templates/zshare/modalform/index.jsx |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/templates/zshare/modalform/index.jsx b/src/templates/zshare/modalform/index.jsx
index fb520c8..276596f 100644
--- a/src/templates/zshare/modalform/index.jsx
+++ b/src/templates/zshare/modalform/index.jsx
@@ -973,6 +973,16 @@
             return
           }
 
+          if (values.field && values.type === 'text' && (/addr/ig.test(values.field) || /鍦板潃/ig.test(values.label))) {
+            if (values.fieldlength <= 50) {
+              notification.warning({
+                top: 92,
+                message: '妫�娴嬪埌褰撳墠瀛楁涓哄湴鍧�锛岃纭瀛楁闀垮害鏄惁鍚堥�傘��',
+                duration: 5
+              })
+            }
+          }
+
           // 涓嬫媺鑿滃崟鎴栬仈鍔ㄨ彍鍗�
           if (['multiselect', 'select', 'link', 'radio', 'checkbox'].includes(values.type)) {
             if (values.resourceType === '0') {

--
Gitblit v1.8.0