@zgfe/modules-interval 1.0.3-alpha.19 → 1.0.3-alpha.20

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.
@@ -97,7 +97,8 @@ var IntervalEventChart = function IntervalEventChart(props) {
97
97
  dataSource: dataSource,
98
98
  showList: showList,
99
99
  dataSourceList: dataSourceList,
100
- params: params
100
+ params: params,
101
+ onlyChart: props.onlyChart
101
102
  }), !props.onlyChart && /*#__PURE__*/React.createElement(EventTable, {
102
103
  dataSource: dataSource,
103
104
  searchData: params,
@@ -87,7 +87,7 @@ var IntervalChart = function IntervalChart(props) {
87
87
  right: 3,
88
88
  height: 20 // 设置内置的dataZoom的高度
89
89
  }, {
90
- show: true,
90
+ show: props.onlyChart ? false : true,
91
91
  type: 'slider',
92
92
  bottom: '38px',
93
93
  xAxisIndex: [0],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-interval",
3
- "version": "1.0.3-alpha.19",
3
+ "version": "1.0.3-alpha.20",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -62,5 +62,5 @@
62
62
  "umi-request": "^1.4.0",
63
63
  "yorkie": "^2.0.0"
64
64
  },
65
- "gitHead": "29528ab18e133cbaf906f788e5418110f7a0b21d"
65
+ "gitHead": "c2b22cc5dc375e76bfa62ae6355d2479ee2211ae"
66
66
  }