Merge pull request #9454 from Leopoldthecoder/step/line

Step: fix flex-basis when align-center is true
pull/9503/head
Hi-Linlin 2018-01-26 11:22:30 +08:00 committed by GitHub
commit 34df2e639c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ export default {
? this.space + 'px' ? this.space + 'px'
: this.space : this.space
? this.space ? this.space
: 100 / (len - 1) + '%'); : 100 / (len - (this.isCenter ? 0 : 1)) + '%');
style.flexBasis = space; style.flexBasis = space;
if (this.isVertical) return style; if (this.isVertical) return style;
if (this.isLast) { if (this.isLast) {