补充 Col & Row 测试用例 (#16)

* layout test

* fix row

* update layout test
This commit is contained in:
wny
2017-04-26 10:07:09 +08:00
committed by 张敏
parent fab9682e9a
commit b98a624960
7 changed files with 2483 additions and 7 deletions
+2 -1
View File
@@ -25,7 +25,8 @@
},
computed: {
gutter() {
return Number(this.$parent.gutter);
if (!this.$parent) return 0;
return Number(this.$parent.gutter) || 0;
},
style() {
const padding = `${this.gutter / 2}px`;