|  | @@ -63,23 +63,23 @@ service.interceptors.response.use(
 | 
	
		
			
				|  |  |              return Promise.reject(new Error(res.message || res.error || 'Error'))
 | 
	
		
			
				|  |  |          } else if (res.status === -1) {
 | 
	
		
			
				|  |  |              // 登录失效
 | 
	
		
			
				|  |  | -            Cookies.remove('session_id')
 | 
	
		
			
				|  |  | -            Cookies.remove('user_code')
 | 
	
		
			
				|  |  | -            Cookies.remove('user_real_name')
 | 
	
		
			
				|  |  | -            Cookies.remove('user_type')
 | 
	
		
			
				|  |  | -            removeToken();
 | 
	
		
			
				|  |  | -            msg = Message({
 | 
	
		
			
				|  |  | -                message: '登录会话失效,请重新登录',
 | 
	
		
			
				|  |  | -                type: 'error',
 | 
	
		
			
				|  |  | -                showClose: true,
 | 
	
		
			
				|  |  | -                duration: 0
 | 
	
		
			
				|  |  | -            })
 | 
	
		
			
				|  |  | -            if (process.env.NODE_ENV === 'development') {
 | 
	
		
			
				|  |  | -                router.push(`/login`)
 | 
	
		
			
				|  |  | -            } else {
 | 
	
		
			
				|  |  | -                window.location.href = '/';
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            return false
 | 
	
		
			
				|  |  | +            // Cookies.remove('session_id')
 | 
	
		
			
				|  |  | +            // Cookies.remove('user_code')
 | 
	
		
			
				|  |  | +            // Cookies.remove('user_real_name')
 | 
	
		
			
				|  |  | +            // Cookies.remove('user_type')
 | 
	
		
			
				|  |  | +            // removeToken();
 | 
	
		
			
				|  |  | +            // msg = Message({
 | 
	
		
			
				|  |  | +            //     message: '登录会话失效,请重新登录',
 | 
	
		
			
				|  |  | +            //     type: 'error',
 | 
	
		
			
				|  |  | +            //     showClose: true,
 | 
	
		
			
				|  |  | +            //     duration: 0
 | 
	
		
			
				|  |  | +            // })
 | 
	
		
			
				|  |  | +            // if (process.env.NODE_ENV === 'development') {
 | 
	
		
			
				|  |  | +                // router.push(`/login`)
 | 
	
		
			
				|  |  | +            // } else {
 | 
	
		
			
				|  |  | +                // window.location.href = '/';
 | 
	
		
			
				|  |  | +            // }
 | 
	
		
			
				|  |  | +            // return false
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  |              Message.closeAll()
 | 
	
		
			
				|  |  |              return res
 |