FIX
This commit is contained in:
		
							parent
							
								
									9825d7ce87
								
							
						
					
					
						commit
						eaaccb52da
					
				
					 1 changed files with 8 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -101,23 +101,20 @@ export default defineComponent({
 | 
			
		|||
 | 
			
		||||
		return () => h(
 | 
			
		||||
			defaultStore.state.animation ? TransitionGroup : 'div',
 | 
			
		||||
			defaultStore.state.animation ? {
 | 
			
		||||
			{
 | 
			
		||||
					class: {
 | 
			
		||||
						'sqadhkmv': true,
 | 
			
		||||
						'noGap': props.noGap
 | 
			
		||||
					},
 | 
			
		||||
					name: 'list',
 | 
			
		||||
					tag: 'div',
 | 
			
		||||
					'data-direction': props.direction,
 | 
			
		||||
					'data-reversed': props.reversed ? 'true' : 'false',
 | 
			
		||||
					onBeforeLeave,
 | 
			
		||||
					onLeaveCanceled,
 | 
			
		||||
				} : {
 | 
			
		||||
					class: {
 | 
			
		||||
						'sqadhkmv': true,
 | 
			
		||||
						'noGap': props.noGap
 | 
			
		||||
					},
 | 
			
		||||
				},
 | 
			
		||||
					...(defaultStore.state.animation ? {
 | 
			
		||||
						name: 'list',
 | 
			
		||||
						tag: 'div',
 | 
			
		||||
						onBeforeLeave,
 | 
			
		||||
						onLeaveCanceled,
 | 
			
		||||
					} : {}),
 | 
			
		||||
			},
 | 
			
		||||
			{ default: renderChildren });
 | 
			
		||||
	}
 | 
			
		||||
});
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue