You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							15 lines
						
					
					
						
							284 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							15 lines
						
					
					
						
							284 B
						
					
					
				
								/* eslint-disable */
							 | 
						|
								var PRESETS = ['error', 'search', 'default', 'network'];
							 | 
						|
								
							 | 
						|
								function imageUrl(image) {
							 | 
						|
								  if (PRESETS.indexOf(image) !== -1) {
							 | 
						|
								    return 'https://img.yzcdn.cn/vant/empty-image-' + image + '.png';
							 | 
						|
								  }
							 | 
						|
								
							 | 
						|
								  return image;
							 | 
						|
								}
							 | 
						|
								
							 | 
						|
								module.exports = {
							 | 
						|
								  imageUrl: imageUrl,
							 | 
						|
								};
							 | 
						|
								
							 | 
						|
								
							 |