eoss-mobiles 0.2.75 → 0.2.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/table.js CHANGED
@@ -2098,6 +2098,13 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
2098
2098
  _this.tableClientHeight = _this.$refs.emTable.clientHeight - 40;
2099
2099
  });
2100
2100
  }
2101
+ if (this.full && !this.height) {
2102
+ this.$nextTick(function () {
2103
+ console.log(_this.$refs.emTable.clientHeight, 'emTable');
2104
+ _this.height = _this.page ? _this.$refs.emTable.clientHeight - 40 : _this.$refs.emTable.clientHeight;
2105
+ // this. = this.$refs.emTable.clientHeight - 40;
2106
+ });
2107
+ }
2101
2108
  },
2102
2109
 
2103
2110
  computed: {
@@ -2805,7 +2812,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
2805
2812
  ref: 'emTable',
2806
2813
  class: 'em-table-box',
2807
2814
  style: {
2808
- height: '100%',
2815
+ height: this.isForm ? '100%' : '0',
2809
2816
  position: 'relative'
2810
2817
  }
2811
2818
  }, tableContents);
@@ -1 +1 @@
1
- .em-form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.em-form-content{-webkit-box-flex:1;-ms-flex:1;flex:1}
1
+ .em-form,.em-form-content{-webkit-box-direction:normal;height:0}.em-form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.em-form-content{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.em-form .van-tab__pane{height:calc(100% - 10px)}.em-form .van-tab__pane>div{height:100%}