| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -89,6 +89,7 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        </el-row> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <el-row> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          <el-form-item prop="newsImageUrl" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                        v-loading="loading" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                        label="新闻首图"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <el-upload class="avatar-uploader" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                       :action="uploadUrl" | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -160,6 +161,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      communityList: [], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      gridList: [], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      categorys: [], | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      loading: false, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      // 富文本 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      quillEditor: null, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      quillEditorToolbarOptions: [ | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -375,6 +377,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, 1000, { 'leading': true, 'trailing': false }), | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    handleAvatarSuccess (res, file) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.loading = false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.dataForm.newsImageUrl = res.data.url | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    beforeAvatarUpload (file) { | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -387,6 +390,7 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      if (!isLt2M) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.$message.error('上传图片大小不能超过 500KB!') | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.loading = true | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      return isJPG && isLt2M | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |