rename Web_Xxx to Base_Xxx
This commit is contained in:
		
							parent
							
								
									c4728babfb
								
							
						
					
					
						commit
						2a7d106b88
					
				
							
								
								
									
										12
									
								
								usertool.js
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								usertool.js
									
									
									
									
									
								
							@ -126,16 +126,16 @@ export default {
 | 
				
			|||||||
    let protocol, hostname, port
 | 
					    let protocol, hostname, port
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (process.env.NODE_ENV === 'production') {
 | 
					    if (process.env.NODE_ENV === 'production') {
 | 
				
			||||||
      protocol = envi.Server_Protocol || 'https'
 | 
					      protocol = envi.Base_Protocol || 'https'
 | 
				
			||||||
      hostname = envi.Server_Hostname
 | 
					      hostname = envi.Base_Hostname
 | 
				
			||||||
      port = envi.Server_Port
 | 
					      port = envi.Base_Port
 | 
				
			||||||
    }else{
 | 
					    }else{
 | 
				
			||||||
      protocol = envi.Server_Protocol_Dev || 'http'
 | 
					      protocol = envi.Base_Protocol_Dev || 'http'
 | 
				
			||||||
      hostname = envi.Server_Hostname_Dev
 | 
					      hostname = envi.Base_Hostname_Dev
 | 
				
			||||||
        // #ifdef H5
 | 
					        // #ifdef H5
 | 
				
			||||||
        || window.location.hostname
 | 
					        || window.location.hostname
 | 
				
			||||||
        // #endif
 | 
					        // #endif
 | 
				
			||||||
      port = envi.Server_Port_Dev || envi.Server_Port
 | 
					      port = envi.Base_Port_Dev || envi.Base_Port
 | 
				
			||||||
        // #ifdef H5
 | 
					        // #ifdef H5
 | 
				
			||||||
        || window.location.port.replace(':','')
 | 
					        || window.location.port.replace(':','')
 | 
				
			||||||
        // #endif
 | 
					        // #endif
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user