✨(component): update
This commit is contained in:
		
							parent
							
								
									fa84d00a00
								
							
						
					
					
						commit
						051ba684ca
					
				@ -437,17 +437,23 @@ const classes = computed(() => {
 | 
			
		||||
  ];
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
watch(() => props.height, () => {
 | 
			
		||||
  nextTick(() => {
 | 
			
		||||
    getScrollWidth();
 | 
			
		||||
  })
 | 
			
		||||
})
 | 
			
		||||
watch(
 | 
			
		||||
  () => props.height,
 | 
			
		||||
  () => {
 | 
			
		||||
    nextTick(() => {
 | 
			
		||||
      getScrollWidth();
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
watch(() => props.maxHeight, () => {
 | 
			
		||||
  nextTick(() => {
 | 
			
		||||
    getScrollWidth();
 | 
			
		||||
  })
 | 
			
		||||
})
 | 
			
		||||
watch(
 | 
			
		||||
  () => props.maxHeight,
 | 
			
		||||
  () => {
 | 
			
		||||
    nextTick(() => {
 | 
			
		||||
      getScrollWidth();
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
onMounted(() => {
 | 
			
		||||
  getScrollWidth();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user