فهرست منبع

Steps: fix style with simple theme (#14610)

Jeff Wen 6 سال پیش
والد
کامیت
0e8bc859e0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/steps/src/step.vue

+ 1 - 1
packages/steps/src/step.vue

@@ -161,7 +161,7 @@ export default {
         style.transitionDelay = (-150 * this.index) + 'ms';
       }
 
-      style.borderWidth = step ? '1px' : 0;
+      style.borderWidth = step && !this.isSimple ? '1px' : 0;
       this.$parent.direction === 'vertical'
         ? style.height = step + '%'
         : style.width = step + '%';