From 5423c7caa9723e0b232ea6c5ef4aaf90bd7a3334 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 21 十月 2020 14:46:25 +0800
Subject: [PATCH] 2020-10-21

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

diff --git a/src/templates/zshare/modalform/datatable/index.jsx b/src/templates/zshare/modalform/datatable/index.jsx
index 3d2c6d0..d05be5e 100644
--- a/src/templates/zshare/modalform/datatable/index.jsx
+++ b/src/templates/zshare/modalform/datatable/index.jsx
@@ -293,6 +293,13 @@
         duration: 5
       })
       return
+    } else if (this.state.data.length >= 20) {
+      notification.warning({
+        top: 92,
+        message: '鏈�澶氬彲娣诲姞20椤癸紒',
+        duration: 5
+      })
+      return
     }
 
     let item = { key: Utils.getuuid(), $value: `${this.state.data.length + 1}` }

--
Gitblit v1.8.0