mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	docs: update
This commit is contained in:
		
							parent
							
								
									b8c8251c64
								
							
						
					
					
						commit
						b82a3d3a2e
					
				@ -228,7 +228,7 @@ const addAsyncRoutes = (arrRoutes: Array<RouteRecordRaw>) => {
 | 
			
		||||
// 获取路由历史模式 https://next.router.vuejs.org/zh/guide/essentials/history-mode.html
 | 
			
		||||
const getHistoryMode = (): RouterHistory => {
 | 
			
		||||
  const routerHistory = loadEnv().VITE_ROUTER_HISTORY;
 | 
			
		||||
  // len为1 代表只有历史模式 为2 代表历史模式中存在参数base https://next.router.vuejs.org/zh/api/#%E5%8F%82%E6%95%B0-1
 | 
			
		||||
  // len为1 代表只有历史模式 为2 代表历史模式中存在base参数 https://next.router.vuejs.org/zh/api/#%E5%8F%82%E6%95%B0-1
 | 
			
		||||
  const historyMode = routerHistory.split(",");
 | 
			
		||||
  const leftMode = historyMode[0];
 | 
			
		||||
  const rightMode = historyMode[1];
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user