From 4f8ffec8fc4aa9918264a3b3b4952421d896f5eb Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 17 四月 2020 17:48:36 +0800 Subject: [PATCH] 2020-04-17 --- src/templates/formtabconfig/index.jsx | 58 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/templates/formtabconfig/index.jsx b/src/templates/formtabconfig/index.jsx index 9a0ab1f..dcc9b60 100644 --- a/src/templates/formtabconfig/index.jsx +++ b/src/templates/formtabconfig/index.jsx @@ -180,7 +180,7 @@ notification.warning({ top: 92, message: res.message, - duration: 10 + duration: 5 }) } }) @@ -242,7 +242,7 @@ notification.warning({ top: 92, message: res.message, - duration: 10 + duration: 5 }) } }) @@ -269,7 +269,7 @@ notification.warning({ top: 92, message: res.message, - duration: 10 + duration: 5 }) } }) @@ -318,7 +318,7 @@ notification.warning({ top: 92, message: res.message, - duration: 10 + duration: 5 }) } }) @@ -649,7 +649,7 @@ notification.warning({ top: 92, message: '琛ㄥ崟涓瓧娈靛悕涓嶅彲涓庝富閿噸澶嶏紒', - duration: 10 + duration: 5 }) return } @@ -721,14 +721,14 @@ notification.warning({ top: 92, message: '瀛楁宸插瓨鍦紒', - duration: 10 + duration: 5 }) return } else if (labelrepeat) { notification.warning({ top: 92, message: '鍚嶇О宸插瓨鍦紒', - duration: 10 + duration: 5 }) return } @@ -859,7 +859,7 @@ notification.warning({ top: 92, message: '璇峰~鍐欏唴閮ㄥ嚱鏁帮紒', - duration: 10 + duration: 5 }) return } @@ -916,7 +916,7 @@ notification.warning({ top: 92, message: '鎺ュ彛绫诲瀷涓�-鍐呴儴锛屼笖瀛樺湪鍐呴儴鍑芥暟鏃讹紝鎵嶅彲浠ュ垱寤哄瓨鍌ㄨ繃绋嬶紒', - duration: 10 + duration: 5 }) return } @@ -1052,7 +1052,7 @@ notification.warning({ top: 92, message: '鎸夐挳鍚嶇О涓嶅彲鐩稿悓锛�', - duration: 10 + duration: 5 }) return } @@ -1071,7 +1071,7 @@ notification.warning({ top: 92, message: '鏍囩鍚嶇О涓嶅彲鐩稿悓锛�', - duration: 10 + duration: 5 }) return } @@ -1218,7 +1218,7 @@ notification.warning({ top: 92, message: '缂栬瘧閿欒', - duration: 10 + duration: 5 }) this.setState({ @@ -1312,7 +1312,7 @@ notification.warning({ top: 92, message: error.message, - duration: 10 + duration: 5 }) resolve(false) } else { @@ -1344,7 +1344,7 @@ notification.warning({ top: 92, message: response.message, - duration: 10 + duration: 5 }) } }) @@ -1354,7 +1354,7 @@ notification.warning({ top: 92, message: this.state.dict['header.menu.basemsg'], - duration: 10 + duration: 5 }) }) } @@ -1399,7 +1399,7 @@ notification.warning({ top: 92, message: error.message, - duration: 10 + duration: 5 }) resolve(false) } else { @@ -1466,7 +1466,7 @@ notification.warning({ top: 92, message: '璇烽�夋嫨琛ㄥ悕锛�', - duration: 10 + duration: 5 }) return } @@ -1612,7 +1612,7 @@ notification.warning({ top: 92, message: res.message, - duration: 10 + duration: 5 }) } }) @@ -1707,7 +1707,7 @@ notification.warning({ top: 92, message: '鑿滃崟灏氭湭淇濆瓨锛岃淇濆瓨鑿滃崟閰嶇疆锛�', - duration: 10 + duration: 5 }) } else { this.menuformRef.handleConfirm().then(res => { @@ -1717,7 +1717,7 @@ notification.warning({ top: 92, message: '鑿滃崟閰嶇疆宸蹭慨鏀癸紝璇蜂繚瀛橈紒', - duration: 10 + duration: 5 }) } else { this.setState({ @@ -1771,7 +1771,7 @@ notification.warning({ top: 92, message: res.message, - duration: 10 + duration: 5 }) } }) @@ -1780,7 +1780,7 @@ notification.warning({ top: 92, message: '鑿滃崟鍩烘湰淇℃伅宸蹭慨鏀癸紝璇蜂繚瀛橈紒', - duration: 10 + duration: 5 }) }) } @@ -1821,31 +1821,31 @@ notification.warning({ top: 92, message: '灏氭湭璁剧疆鏁版嵁婧愶紝涓嶅彲鍚敤锛�', - duration: 10 + duration: 5 }) } else if (config.setting.datatype === 'query' && !config.setting.primaryKey) { notification.warning({ top: 92, message: '灏氭湭璁剧疆涓婚敭锛屼笉鍙惎鐢紒', - duration: 10 + duration: 5 }) } else if (!tabinvalid) { notification.warning({ top: 92, message: '瀛樺湪澶氫綑鏍囩缁勶紝涓嶅彲鍚敤锛�', - duration: 10 + duration: 5 }) } else if (!forminvalid) { notification.warning({ top: 92, message: '瀛樺湪澶氫綑绌鸿〃鍗曠粍锛屼笉鍙惎鐢紒', - duration: 10 + duration: 5 }) } else if (primaryrepeat) { notification.warning({ top: 92, message: '琛ㄥ崟瀛楁涓庝富閿噸澶嶏紝涓嶅彲鍚敤锛�', - duration: 10 + duration: 5 }) } else { this.setState({ @@ -1999,7 +1999,7 @@ notification.warning({ top: 92, message: '涓嶆敮鎸佹琛ㄥ崟绫诲瀷锛�', - duration: 10 + duration: 5 }) return } @@ -2014,7 +2014,7 @@ notification.warning({ top: 92, message: '閰嶇疆淇℃伅鏍煎紡閿欒锛�', - duration: 10 + duration: 5 }) } }) -- Gitblit v1.8.0