mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	fix: 修复title过长显示样式问题
				
					
				
			This commit is contained in:
		
							parent
							
								
									6765ce8644
								
							
						
					
					
						commit
						e4c33a7d22
					
				@ -51,6 +51,12 @@ const { title } = useNav();
 | 
				
			|||||||
    margin-top: 5px;
 | 
					    margin-top: 5px;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .sidebar-title {
 | 
					    .sidebar-title {
 | 
				
			||||||
 | 
					      display: block;
 | 
				
			||||||
 | 
					      width: 160px;
 | 
				
			||||||
 | 
					      overflow: hidden;
 | 
				
			||||||
 | 
					      text-overflow: ellipsis;
 | 
				
			||||||
 | 
					      white-space: nowrap;
 | 
				
			||||||
 | 
					      text-align: left;
 | 
				
			||||||
      color: #1890ff;
 | 
					      color: #1890ff;
 | 
				
			||||||
      font-weight: 600;
 | 
					      font-weight: 600;
 | 
				
			||||||
      font-size: 20px;
 | 
					      font-size: 20px;
 | 
				
			||||||
 | 
				
			|||||||
@ -59,7 +59,7 @@ class PureHttp {
 | 
				
			|||||||
          PureHttp.initConfig.beforeRequestCallback($config);
 | 
					          PureHttp.initConfig.beforeRequestCallback($config);
 | 
				
			||||||
          return $config;
 | 
					          return $config;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        /** 请求白名单(通过设置请求白名单,防止token过期后再请求造成的死循环问题) */
 | 
					        /** 请求白名单,放置一些不需要token的接口(通过设置请求白名单,防止token过期后再请求造成的死循环问题) */
 | 
				
			||||||
        const whiteList = ["/refreshToken", "/login"];
 | 
					        const whiteList = ["/refreshToken", "/login"];
 | 
				
			||||||
        return whiteList.some(v => config.url.indexOf(v) > -1)
 | 
					        return whiteList.some(v => config.url.indexOf(v) > -1)
 | 
				
			||||||
          ? config
 | 
					          ? config
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user