跳转测试
This commit is contained in:
		
							parent
							
								
									8c0fd1d4f1
								
							
						
					
					
						commit
						ddc22a042d
					
				| @ -232,10 +232,6 @@ const getCode = () => { | ||||
|   service | ||||
|     .post( | ||||
|       process.env.VUE_APP_API + "/cms-activity/cms88/zsApi/xfhdAuthorize", | ||||
|       // qs.stringify({ | ||||
|       //   redirect_uri: redirect_uri | ||||
|       // }) | ||||
| 
 | ||||
|       { | ||||
|         redirect_uri: redirect_uri, | ||||
|       } | ||||
| @ -244,7 +240,8 @@ const getCode = () => { | ||||
|       let code = res.data.data; | ||||
|       console.log("get code结果3", res); | ||||
|       authCode.value = res.data.data; | ||||
|       window.location.href = res.data.data; | ||||
|       // window.location.href = res.data.data; | ||||
|       location.href = res.data.data; | ||||
|       // window.open(res.data.data) | ||||
|     }); | ||||
| }; | ||||
|  | ||||
							
								
								
									
										0
									
								
								src/page/Home/Login.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								src/page/Home/Login.vue
									
									
									
									
									
										Normal file
									
								
							| @ -3,7 +3,8 @@ import { createRouter, createWebHashHistory } from 'vue-router'; | ||||
| const router = createRouter({ | ||||
|     history: createWebHashHistory(), | ||||
|     routes: [ | ||||
|         { path: '/', component: () => import('@/views/Home.vue') } | ||||
|         { path: '/', component: () => import('@/views/Home/Home.vue') }, | ||||
|         { path: '/login', component: () => import('@/views/Home/Login.vue') } | ||||
|     ] | ||||
| }); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 tcubic
						tcubic