| 
				
			 | 
			
			
				@@ -430,7 +430,10 @@ var App = function (_Component) { 
			 | 
		
	
		
			
			| 
				430
			 | 
			
				430
			 | 
			
			
				         })); 
			 | 
		
	
		
			
			| 
				431
			 | 
			
				431
			 | 
			
			
				         _this6.setState({ list: list, total: total + 1 }); 
			 | 
		
	
		
			
			| 
				432
			 | 
			
				432
			 | 
			
			
				         _this6.props.onCountChange(total + 1); 
			 | 
		
	
		
			
			| 
				433
			 | 
			
				
			 | 
			
			
				-      }).catch(this.errorHandler).finally(function () { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				433
			 | 
			
			
				+      }).catch(function (error) { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				434
			 | 
			
			
				+        _this6.props.onCommentFail(error.response.status); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				435
			 | 
			
			
				+        _this6.errorHandler(error); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				436
			 | 
			
			
				+      }).finally(function () { 
			 | 
		
	
		
			
			| 
				434
			 | 
			
				437
			 | 
			
			
				         _this6.handleChangeLoading("sCreateComment", false); 
			 | 
		
	
		
			
			| 
				435
			 | 
			
				438
			 | 
			
			
				       }); 
			 | 
		
	
		
			
			| 
				436
			 | 
			
				439
			 | 
			
			
				     } 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -545,7 +548,10 @@ var App = function (_Component) { 
			 | 
		
	
		
			
			| 
				545
			 | 
			
				548
			 | 
			
			
				           return item; 
			 | 
		
	
		
			
			| 
				546
			 | 
			
				549
			 | 
			
			
				         }); 
			 | 
		
	
		
			
			| 
				547
			 | 
			
				550
			 | 
			
			
				         _this9.setState({ list: list }); 
			 | 
		
	
		
			
			| 
				548
			 | 
			
				
			 | 
			
			
				-      }).catch(this.errorHandler).finally(function () { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				551
			 | 
			
			
				+      }).catch(function (error) { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				552
			 | 
			
			
				+        _this9.props.onCommentFail(error.response.status); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				553
			 | 
			
			
				+        _this9.errorHandler(error); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				554
			 | 
			
			
				+      }).finally(function () { 
			 | 
		
	
		
			
			| 
				549
			 | 
			
				555
			 | 
			
			
				         _this9.handleChangeLoading("sCreateReply", false); 
			 | 
		
	
		
			
			| 
				550
			 | 
			
				556
			 | 
			
			
				       }); 
			 | 
		
	
		
			
			| 
				551
			 | 
			
				557
			 | 
			
			
				     } 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -790,7 +796,8 @@ App.propTypes = { 
			 | 
		
	
		
			
			| 
				790
			 | 
			
				796
			 | 
			
			
				   onDelete: _propTypes2.default.func, 
			 | 
		
	
		
			
			| 
				791
			 | 
			
				797
			 | 
			
			
				   onUpdateComment: _propTypes2.default.func, 
			 | 
		
	
		
			
			| 
				792
			 | 
			
				798
			 | 
			
			
				   locales: _propTypes2.default.string, //  传入的语言环境, en-US/zh-CN 
			 | 
		
	
		
			
			| 
				793
			 | 
			
				
			 | 
			
			
				-  onCountChange: _propTypes2.default.func // 评论数量变更时的回调 
			 | 
		
	
		
			
			| 
				
			 | 
			
				799
			 | 
			
			
				+  onCountChange: _propTypes2.default.func, // 评论数量变更时的回调 
			 | 
		
	
		
			
			| 
				
			 | 
			
				800
			 | 
			
			
				+  onCommentFail: _propTypes2.default.func // 评论失败时的回调 
			 | 
		
	
		
			
			| 
				794
			 | 
			
				801
			 | 
			
			
				 }; 
			 | 
		
	
		
			
			| 
				795
			 | 
			
				802
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				796
			 | 
			
				803
			 | 
			
			
				 App.defaultProps = { 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -812,7 +819,8 @@ App.defaultProps = { 
			 | 
		
	
		
			
			| 
				812
			 | 
			
				819
			 | 
			
			
				   onDelete: function onDelete() {}, 
			 | 
		
	
		
			
			| 
				813
			 | 
			
				820
			 | 
			
			
				   onUpdateComment: function onUpdateComment() {}, 
			 | 
		
	
		
			
			| 
				814
			 | 
			
				821
			 | 
			
			
				   onBeforeUpdateComment: function onBeforeUpdateComment() {}, 
			 | 
		
	
		
			
			| 
				815
			 | 
			
				
			 | 
			
			
				-  onCountChange: function onCountChange() {} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				822
			 | 
			
			
				+  onCountChange: function onCountChange() {}, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				823
			 | 
			
			
				+  onCommentFail: function onCommentFail() {} 
			 | 
		
	
		
			
			| 
				816
			 | 
			
				824
			 | 
			
			
				 }; 
			 | 
		
	
		
			
			| 
				817
			 | 
			
				825
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				818
			 | 
			
				826
			 | 
			
			
				 exports.Editor = _Editor2.default; 
			 |