@zgfe/modules-dm 1.0.2-dm.23 → 1.0.2-dm.24

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.
@@ -222,8 +222,8 @@ var CollectionEventList = function CollectionEventList(props) {
222
222
  setfilterTypeData = _useState18[1];
223
223
 
224
224
  useEffect(function () {
225
- console.log('filterTypeData', filterTypeData); // 判断不同type的筛选条件
226
-
225
+ // console.log('filterTypeData', filterTypeData);
226
+ // 判断不同type的筛选条件
227
227
  var _judgeFun = function _judgeFun(item, filterItem) {
228
228
  switch (filterItem.type) {
229
229
  case 'mark_type':
@@ -26,6 +26,8 @@ var DataCollection = function DataCollection(props) {
26
26
  isDemo = _useContext.isDemo; // const { updateEventMetas } = props;
27
27
 
28
28
 
29
+ console.log('①埋点方案', currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId);
30
+
29
31
  var _useState = useState(1),
30
32
  _useState2 = _slicedToArray(_useState, 2),
31
33
  listTab = _useState2[0],
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import './styles/index.less';
3
3
  interface DataManageProps {
4
4
  updateEventMetas: Function;
5
+ key: number;
5
6
  }
6
7
  declare const DataManage: React.FC<DataManageProps>;
7
8
  export default DataManage;
@@ -20,6 +20,7 @@ import PlanList from '../dataPlan';
20
20
  import DataCollection from '../dataCollection';
21
21
 
22
22
  var DataManage = function DataManage(props) {
23
+ console.log('DataManage-key', props.key);
23
24
  var classPrefix = 'data-manage';
24
25
  var updateEventMetas = props.updateEventMetas; // const { state, dispatch } = useContext(DmContext);
25
26
 
@@ -24,8 +24,9 @@ var PlanList = function PlanList(props) {
24
24
 
25
25
  var _useContext = useContext(BizGlobalDataContext),
26
26
  currentApp = _useContext.currentApp,
27
- isDemo = _useContext.isDemo; // 查看方案
27
+ isDemo = _useContext.isDemo;
28
28
 
29
+ console.log('②埋点方案管理', currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId); // 查看方案
29
30
 
30
31
  var tableSee = function tableSee(data) {
31
32
  setDetailId(data.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.2-dm.23",
3
+ "version": "1.0.2-dm.24",
4
4
  "module": "es/index.js",
5
5
  "typings": "es/index.d.ts",
6
6
  "license": "ISC",
@@ -53,7 +53,7 @@
53
53
  "umi-request": "^1.4.0",
54
54
  "yorkie": "^2.0.0"
55
55
  },
56
- "gitHead": "04b81f0ef247ec3084e74d34b068327862525217",
56
+ "gitHead": "bc084bb7488b8cfd069a082a162479c1b7771d3e",
57
57
  "gitHooks": {
58
58
  "pre-commit": "lint-staged"
59
59
  }