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/subtableconfig/index.jsx | 72 ++++++++++++++++++------------------ 1 files changed, 36 insertions(+), 36 deletions(-) diff --git a/src/templates/subtableconfig/index.jsx b/src/templates/subtableconfig/index.jsx index e81e1d6..2930bf1 100644 --- a/src/templates/subtableconfig/index.jsx +++ b/src/templates/subtableconfig/index.jsx @@ -207,7 +207,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 }) } }) @@ -296,7 +296,7 @@ notification.warning({ top: 92, message: res.message, - duration: 10 + duration: 5 }) } }) @@ -336,7 +336,7 @@ notification.warning({ top: 92, message: res.message, - duration: 10 + duration: 5 }) } }) @@ -502,7 +502,7 @@ notification.warning({ top: 92, message: result.message, - duration: 10 + duration: 5 }) } @@ -585,14 +585,14 @@ notification.warning({ top: 92, message: '瀛楁宸插瓨鍦紒', - duration: 10 + duration: 5 }) return } else if (labelrepet) { notification.warning({ top: 92, message: '鍚嶇О宸插瓨鍦紒', - duration: 10 + duration: 5 }) return } @@ -700,7 +700,7 @@ notification.warning({ top: 92, message: response.message, - duration: 10 + duration: 5 }) } else { this.setState({ @@ -762,14 +762,14 @@ notification.warning({ top: 92, message: '瀛楁宸插瓨鍦紒', - duration: 10 + duration: 5 }) return } else if (labelrepet) { notification.warning({ top: 92, message: '鍚嶇О宸插瓨鍦紒', - duration: 10 + duration: 5 }) return } @@ -841,7 +841,7 @@ notification.warning({ top: 92, message: '璇峰~鍐欏唴閮ㄥ嚱鏁帮紒', - duration: 10 + duration: 5 }) return } @@ -887,7 +887,7 @@ notification.warning({ top: 92, message: '寮圭獥锛堣〃鍗曪級鎸夐挳锛岃鍏堥厤缃〃鍗曚俊鎭紒', - duration: 10 + duration: 5 }) resolve(false) } @@ -905,7 +905,7 @@ notification.warning({ top: 92, message: '璇峰畬鍠勫鍏xcel楠岃瘉淇℃伅锛�', - duration: 10 + duration: 5 }) resolve(false) } @@ -983,7 +983,7 @@ notification.warning({ top: 92, message: '鎺ュ彛绫诲瀷涓�-鍐呴儴锛屼笖瀛樺湪鍐呴儴鍑芥暟鏃讹紝鎵嶅彲浠ュ垱寤哄瓨鍌ㄨ繃绋嬶紒', - duration: 10 + duration: 5 }) return } @@ -1056,7 +1056,7 @@ notification.warning({ top: 92, message: '姝ゆ寜閽棤瀛愰厤缃」锛�', - duration: 10 + duration: 5 }) } } @@ -1113,7 +1113,7 @@ notification.warning({ top: 92, message: '鎸夐挳鍚嶇О涓嶅彲鐩稿悓锛�', - duration: 10 + duration: 5 }) return } @@ -1235,7 +1235,7 @@ notification.warning({ top: 92, message: '缂栬瘧閿欒', - duration: 10 + duration: 5 }) this.setState({ @@ -1337,7 +1337,7 @@ notification.warning({ top: 92, message: error.message, - duration: 10 + duration: 5 }) resolve(false) } else { @@ -1381,7 +1381,7 @@ notification.warning({ top: 92, message: msg, - duration: 10 + duration: 5 }) return false } else { @@ -1413,7 +1413,7 @@ notification.warning({ top: 92, message: response.message, - duration: 10 + duration: 5 }) } }) @@ -1423,7 +1423,7 @@ notification.warning({ top: 92, message: this.state.dict['header.menu.basemsg'], - duration: 10 + duration: 5 }) }) } @@ -1475,7 +1475,7 @@ notification.warning({ top: 92, message: error.message, - duration: 10 + duration: 5 }) resolve(false) } else { @@ -1599,7 +1599,7 @@ notification.warning({ top: 92, message: '璇烽�夋嫨琛ㄥ悕锛�', - duration: 10 + duration: 5 }) return } @@ -1835,7 +1835,7 @@ notification.warning({ top: 92, message: res.message, - duration: 10 + duration: 5 }) } }) @@ -1957,7 +1957,7 @@ notification.warning({ top: 92, message: '鑿滃崟灏氭湭淇濆瓨锛岃淇濆瓨鑿滃崟閰嶇疆锛�', - duration: 10 + duration: 5 }) } else { this.menuformRef.handleConfirm().then(res => { @@ -1967,7 +1967,7 @@ notification.warning({ top: 92, message: '鑿滃崟閰嶇疆宸蹭慨鏀癸紝璇蜂繚瀛橈紒', - duration: 10 + duration: 5 }) } else { this.setState({ @@ -2037,7 +2037,7 @@ notification.warning({ top: 92, message: res.message, - duration: 10 + duration: 5 }) } }) @@ -2046,7 +2046,7 @@ notification.warning({ top: 92, message: '鑿滃崟鍩烘湰淇℃伅宸蹭慨鏀癸紝璇蜂繚瀛橈紒', - duration: 10 + duration: 5 }) }) } @@ -2059,13 +2059,13 @@ notification.warning({ top: 92, message: '灏氭湭璁剧疆鏁版嵁婧愶紝涓嶅彲鍚敤锛�', - duration: 10 + duration: 5 }) } else if (!config.setting.primaryKey) { notification.warning({ top: 92, message: '灏氭湭璁剧疆涓婚敭锛屼笉鍙惎鐢紒', - duration: 10 + duration: 5 }) } else { this.setState({ @@ -2151,7 +2151,7 @@ notification.warning({ top: 92, message: res.message, - duration: 10 + duration: 5 }) } }) @@ -2167,7 +2167,7 @@ notification.warning({ top: 92, message: this.state.dict['form.required.select'] + this.state.dict['header.form.thawbutton'], - duration: 10 + duration: 5 }) } else { @@ -2197,7 +2197,7 @@ notification.warning({ top: 92, message: '鎵撳紑鏂瑰紡涓� 寮圭獥锛堣〃鍗曪級銆佹彁绀烘鎴栫洿鎺ユ墽琛岋紝涓斾娇鐢ㄧ郴缁熷嚱鏁版椂锛屾墠鍙互鍒涘缓鎺ュ彛锛�', - duration: 10 + duration: 5 }) return } @@ -2226,7 +2226,7 @@ notification.warning({ top: 92, message: '鎺ュ彛绫诲瀷涓�-鍐呴儴锛屼笖涓嶅瓨鍦ㄥ唴閮ㄥ嚱鏁版椂锛屾墠鍙互鍒涘缓鎺ュ彛锛�', - duration: 10 + duration: 5 }) return } @@ -2250,14 +2250,14 @@ notification.warning({ top: 92, message: '閰嶇疆淇℃伅鏍煎紡閿欒锛�', - duration: 10 + duration: 5 }) return } else if (!['pop', 'prompt', 'exec', 'excelIn', 'excelOut', 'popview'].includes(res.OpenType)) { notification.warning({ top: 92, message: '涓嶆敮鎸佹鎵撳紑鏂瑰紡锛�', - duration: 10 + duration: 5 }) return } -- Gitblit v1.8.0