parent
							
								
									0a58c0800d
								
							
						
					
					
						commit
						bf717f1226
					
				| 
						 | 
				
			
			@ -27,6 +27,7 @@ export default defineComponent({
 | 
			
		|||
    canClick: PropTypes.looseBool,
 | 
			
		||||
  },
 | 
			
		||||
  data() {
 | 
			
		||||
    this.calcStepOffsetWidth = debounce(this.calcStepOffsetWidth, 150);
 | 
			
		||||
    return {
 | 
			
		||||
      flexSupported: true,
 | 
			
		||||
      lastStepOffsetWidth: 0,
 | 
			
		||||
| 
						 | 
				
			
			@ -62,7 +63,7 @@ export default defineComponent({
 | 
			
		|||
        this.__emit('change', next);
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    calcStepOffsetWidth: debounce(function() {
 | 
			
		||||
    calcStepOffsetWidth() {
 | 
			
		||||
      if (isFlexSupported()) {
 | 
			
		||||
        return;
 | 
			
		||||
      }
 | 
			
		||||
| 
						 | 
				
			
			@ -86,7 +87,7 @@ export default defineComponent({
 | 
			
		|||
          this.setState({ lastStepOffsetWidth: offsetWidth });
 | 
			
		||||
        });
 | 
			
		||||
      }
 | 
			
		||||
    }, 150),
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
  render() {
 | 
			
		||||
    const {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue