|  | @@ -23,6 +23,7 @@ function App() {
 | 
	
		
			
				|  |  |  	const url = window.location.href;
 | 
	
		
			
				|  |  |  	const searchParams = new URLSearchParams(new URL(url).search);
 | 
	
		
			
				|  |  |  	const gameId = searchParams.get('game_id')
 | 
	
		
			
				|  |  | +	const isSw = searchParams.get('isSw')
 | 
	
		
			
				|  |  |  	const { state, dispatch, getDetails } = useConfig()
 | 
	
		
			
				|  |  |  	const { typeSwitch, token } = state
 | 
	
		
			
				|  |  |  	// const [isInit, setIsInit] = useState<boolean>(false)
 | 
	
	
		
			
				|  | @@ -36,6 +37,10 @@ function App() {
 | 
	
		
			
				|  |  |  	/**************************************/
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	useEffect(() => {
 | 
	
		
			
				|  |  | +		// sw
 | 
	
		
			
				|  |  | +		if(isSw){
 | 
	
		
			
				|  |  | +			localStorage.setItem("isSw",isSw)
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  |  		function handleOrientationChange() {
 | 
	
		
			
				|  |  |  			let orientationType = 'VERTICAL'
 | 
	
		
			
				|  |  |  			if (window.matchMedia("(orientation: landscape)").matches) { // 横屏
 |