Commit 34df2e63 authored by Hi-Linlin's avatar Hi-Linlin Committed by GitHub

Merge pull request #9454 from Leopoldthecoder/step/line

Step: fix flex-basis when align-center is true
parents fceaa74d 2c4ea9da
......@@ -121,7 +121,7 @@ export default {
? this.space + 'px'
: this.space
? this.space
: 100 / (len - 1) + '%');
: 100 / (len - (this.isCenter ? 0 : 1)) + '%');
style.flexBasis = space;
if (this.isVertical) return style;
if (this.isLast) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment