fix(v-show): ensure v-show conflict with inline string style binding
fix #2583
This commit is contained in:
		
							parent
							
								
									9db7095962
								
							
						
					
					
						commit
						3cd30c5245
					
				@ -20,8 +20,7 @@ export const vShow: ObjectDirective<VShowElement> = {
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  updated(el, { value, oldValue }, { transition }) {
 | 
			
		||||
    if (!value === !oldValue) return
 | 
			
		||||
    if (transition) {
 | 
			
		||||
    if (transition && value !== oldValue) {
 | 
			
		||||
      if (value) {
 | 
			
		||||
        transition.beforeEnter(el)
 | 
			
		||||
        setDisplay(el, true)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user