@zgfe/modules-event 0.0.2-event.27 → 0.0.2-event.28

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.
@@ -21,6 +21,7 @@ import { Spin } from 'antd';
21
21
  import emptyImg from '../../style/image/empty.png';
22
22
  var classPrefix = 'event-mi-table';
23
23
  var EventChart = function EventChart(props) {
24
+ console.log('EventChart6', props);
24
25
  var params = props.params;
25
26
  var _useState = useState(false),
26
27
  _useState2 = _slicedToArray(_useState, 2),
@@ -63,9 +64,10 @@ var EventChart = function EventChart(props) {
63
64
  }, [dataSource, chartType]);
64
65
  useEffect(function () {
65
66
  if (!props.dataSource) {
67
+ console.log('看板列表访问-请求查询', params);
66
68
  fetchResult();
67
69
  }
68
- }, []);
70
+ }, [params]);
69
71
  useEffect(function () {
70
72
  if (!props.showList || !props.showList.length) {
71
73
  setShowList(dataSource ? getDefaultShow(dataSource) : []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-event",
3
- "version": "0.0.2-event.27",
3
+ "version": "0.0.2-event.28",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -49,7 +49,7 @@
49
49
  "react": "^16.12.0 || ^17.0.0",
50
50
  "yorkie": "^2.0.0"
51
51
  },
52
- "gitHead": "65d06c5e383f1acc0aea0de510fdfb0fdcb26608",
52
+ "gitHead": "eaa4154cfbfbcbd95b4c86bd28b95b5dfd2339c8",
53
53
  "dependencies": {
54
54
  "react-copy-to-clipboard": "^5.1.0",
55
55
  "react-highlight": "^0.15.0"