| 
					
				 | 
			
			
				@@ -74,6 +74,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { onMounted } from 'vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { useRoute } from 'vue-router' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { setStorage, storageKey } from '../static/utils/storage' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { getCookie, removeCookie } from '../static/utils' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import headerLayer from '../components/header.vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import footerLayer from '../components/footer.vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -109,12 +110,20 @@ onMounted(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // jump login 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     let str = route.query && route.query.params || '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (str) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // @ts-ignore 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let params = JSON.parse(atob(str)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         setStorage(storageKey.userInfo, params) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         location.href = `/nft/list`; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // plugin login 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let userInfo = getCookie(storageKey.userInfo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (userInfo) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            setStorage(storageKey.userInfo, JSON.parse(userInfo)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            removeCookie(storageKey.userInfo) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 |