Steps: fix style with simple theme (#14610)

pull/14748/head
Jeff Wen 2019-03-18 16:51:29 +08:00 committed by hetech
parent 535b6149d8
commit 0e8bc859e0
1 changed files with 1 additions and 1 deletions

View File

@ -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 + '%';