| 
					
				 | 
			
			
				@@ -62,18 +62,16 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { required: true, message: '验证码不能为空', trigger: 'blur' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        captchaPath: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        loading: false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        captchaPath: '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     created () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      console.log('login') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // console.log('login') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // this.getCaptcha() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 提交表单 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       dataFormSubmit () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.loading = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$refs['dataForm'].validate((valid) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           if (valid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.$http({ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -89,7 +87,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.$cookie.set('token', data.data.access_token) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.$router.replace({ name: 'home' }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                this.loading = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // this.getCaptcha() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.$message.error(data.msg) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               } 
			 |