diff --git a/src/css/main.less b/src/css/main.less index 4640565..10ba8d6 100644 --- a/src/css/main.less +++ b/src/css/main.less @@ -5,12 +5,17 @@ background-color: #fff; border-bottom: 1px solid #dddee1; position: relative; + &-wrap{ position: relative; border: 1px solid #dddee1; // border-bottom: none; display: flex; align-content: stretch; + + & *{ + box-sizing: border-box; + } } &-big{ .@{fb}{ @@ -312,7 +317,7 @@ } .has-scroll-bar{ .@{fb}-fixed-right-wrap{ - right: 16px; + right: 15px; } } .checkbox-component{ diff --git a/src/table.vue b/src/table.vue index 1b2cad3..47d68bf 100644 --- a/src/table.vue +++ b/src/table.vue @@ -330,7 +330,7 @@ export default { newItem._isDisabled = !!newItem._disabled; newItem._expanded = !!newItem._expanded; newItem._disableExpand = !!newItem._disableExpand; - this.rowHeight[index] = 0; + this.$set(this.rowHeight, index, 0); return newItem; }); return list; diff --git a/src/tableFoot.vue b/src/tableFoot.vue index 1fde80c..a4a99b7 100644 --- a/src/tableFoot.vue +++ b/src/tableFoot.vue @@ -1,14 +1,14 @@