mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	ENH: all fix about OnlineModels
Change-Id: I9ae1a9fdb364c28f3c9de2827ca1bbb9a2f750fa
This commit is contained in:
		
							parent
							
								
									7cc59dab27
								
							
						
					
					
						commit
						28750e10ac
					
				
					 7 changed files with 186 additions and 44 deletions
				
			
		|  | @ -244,6 +244,16 @@ function IsJson( strJson ) | |||
| 	return tJson; | ||||
| } | ||||
| 
 | ||||
| function DecodeJsonObject( pJson ) | ||||
| { | ||||
| 	let tmpJson=JSON.stringify(pJson); | ||||
| 	tmpJson=decodeURIComponent(tmpJson); | ||||
| 	 | ||||
| 	pJson=JSON.parse(tmpJson); | ||||
| 	 | ||||
| 	return pJson; | ||||
| } | ||||
| 
 | ||||
| /*-----------------------Ajax Function--------------------*/ | ||||
| /*对JQuery的Ajax函数的封装,只支持异步 | ||||
| 参数说明: | ||||
|  | @ -344,6 +354,16 @@ function SendWXDebugInfo( strMsg ) | |||
| 	SendWXMessage( JSON.stringify(tSend) );		 | ||||
| } | ||||
| 
 | ||||
| function OpenUrlInLocalBrowser( strUrl ) | ||||
| { | ||||
| 	var tSend={}; | ||||
| 	tSend['sequence_id']=Math.round(new Date() / 1000); | ||||
| 	tSend['command']="common_openurl"; | ||||
| 	tSend['url']=strUrl; | ||||
| 
 | ||||
| 	SendWXMessage( JSON.stringify(tSend) );		 | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| /*------CSS Link Control----*/ | ||||
| function RemoveCssLink( LinkPath ) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 zorro.zhang
						zorro.zhang