mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 20:28:45 +08:00 
			
		
		
		
	fix: name warn
This commit is contained in:
		@@ -32,7 +32,7 @@ onMounted(() => {
 | 
			
		||||
 | 
			
		||||
  scrollContainer.value = getScrollContainer(refSticky.value!, true)
 | 
			
		||||
  useEventListener(scrollContainer, 'scroll', handleScroll)
 | 
			
		||||
  useEventListener('resize', handleReize)
 | 
			
		||||
  useEventListener('resize', handleResize)
 | 
			
		||||
  handleScroll()
 | 
			
		||||
})
 | 
			
		||||
onActivated(() => {
 | 
			
		||||
@@ -103,7 +103,7 @@ const handleScroll = () => {
 | 
			
		||||
    reset()
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
const handleReize = () => {
 | 
			
		||||
const handleResize = () => {
 | 
			
		||||
  if (isSticky.value && refSticky.value) {
 | 
			
		||||
    width.value = refSticky.value.getBoundingClientRect().width + 'px'
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user