Skip to content

Commit 0e8bc85

Browse files
sinchangziyoung
authored andcommitted
Steps: fix style with simple theme (ElemeFE#14610)
1 parent 535b614 commit 0e8bc85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/steps/src/step.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export default {
161161
style.transitionDelay = (-150 * this.index) + 'ms';
162162
}
163163
164-
style.borderWidth = step ? '1px' : 0;
164+
style.borderWidth = step && !this.isSimple ? '1px' : 0;
165165
this.$parent.direction === 'vertical'
166166
? style.height = step + '%'
167167
: style.width = step + '%';

0 commit comments

Comments
 (0)