rename some binding hooks according to new names
This commit is contained in:
		
							parent
							
								
									4b630c3c36
								
							
						
					
					
						commit
						7b10e47b21
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -55,7 +55,7 @@ const directive = {
 | 
			
		|||
      disableBodyScroll(el)
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  componentUpdated: (el, binding) => {
 | 
			
		||||
  updated: (el, binding) => {
 | 
			
		||||
    if (binding.oldValue === binding.value) {
 | 
			
		||||
      return
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			@ -66,7 +66,7 @@ const directive = {
 | 
			
		|||
      enableBodyScroll(el)
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  unbind: (el) => {
 | 
			
		||||
  unmounted: (el) => {
 | 
			
		||||
    enableBodyScroll(el)
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue