sync:微信公众号网页授权登录,自动获取登录入口的准确路径 7a8298aeed
				
					
				
			
							parent
							
								
									da9588c263
								
							
						
					
					
						commit
						4b3c699270
					
				|  | @ -638,7 +638,7 @@ function pages() { | |||
| export function getRootUrl() { | ||||
|   let url = ''; | ||||
|   // #ifdef H5
 | ||||
|   url = location.origin + '/'; | ||||
|   url = location.origin + location.pathname; | ||||
| 
 | ||||
|   if (location.hash !== '') { | ||||
|     url += '#/'; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 YunaiV
						YunaiV