hrsass-components 2.1.0 → 2.1.2

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.
@@ -65,7 +65,7 @@ var contentStyle = _interopDefault(require('!!raw-loader!tinymce/skins/content/d
65
65
  var SvgPanZoom = _interopDefault(require('svg-pan-zoom'));
66
66
  var saveSvgAsPng = require('save-svg-as-png');
67
67
 
68
- var version = "2.1.0";
68
+ var version = "2.1.2";
69
69
 
70
70
  /**
71
71
  * 版本号
@@ -7036,7 +7036,7 @@ var HrTableBase = {
7036
7036
  this.refresh();
7037
7037
  window.addEventListener("resize", this._getScroll);
7038
7038
  },
7039
- destoryed: function destoryed() {
7039
+ beforeDestroy: function beforeDestroy() {
7040
7040
  window.removeEventListener("resize", this._getScroll);
7041
7041
  },
7042
7042
  computed: {
@@ -7730,6 +7730,10 @@ var HrTableBase = {
7730
7730
  _toConsumableArray(this.$refs.table.$el.querySelectorAll('div[class^="ant-table-fixed-"] .ant-table-body-inner')).map(function (item) {
7731
7731
  item.style.overflowX = 'scroll';
7732
7732
  });
7733
+ } else {
7734
+ _toConsumableArray(this.$refs.table.$el.querySelectorAll('div[class^="ant-table-fixed-"] .ant-table-body-inner')).map(function (item) {
7735
+ item.style.overflowX = 'auto';
7736
+ });
7733
7737
  }
7734
7738
  this.scroll = scroll;
7735
7739
  },