@zgfe/business-lib 1.2.51-plat.2 → 1.2.51-plat.4

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.
@@ -10,7 +10,7 @@ import { platformOption } from './util';
10
10
  import './styles/index.less';
11
11
  var BizPlatformSelector = function BizPlatformSelector(props) {
12
12
  var classPrefix = 'biz-platform-selector';
13
- var _useState = useState(0),
13
+ var _useState = useState(),
14
14
  _useState2 = _slicedToArray(_useState, 2),
15
15
  currentValue = _useState2[0],
16
16
  setCurrentValue = _useState2[1];
@@ -19,8 +19,7 @@ var BizPlatformSelector = function BizPlatformSelector(props) {
19
19
  var selectValue = platformOption.find(function (item) {
20
20
  return item.key === props.value;
21
21
  });
22
- console.log('selectValue', selectValue);
23
- setCurrentValue((selectValue === null || selectValue === void 0 ? void 0 : selectValue.key) || 0);
22
+ setCurrentValue(selectValue || platformOption[0]);
24
23
  }
25
24
  }, [props.value]);
26
25
  return /*#__PURE__*/React.createElement("div", {
@@ -16,7 +16,7 @@ import { PropType } from '../types';
16
16
  import './styles/cdpCondition.less';
17
17
  import _ from 'lodash';
18
18
  import { dateOperate, numberOperate, stringOperate } from '../../attrConditions/utils/operates';
19
- import { DatePicker, Input, Tooltip } from 'antd';
19
+ import { DatePicker, Input } from 'antd';
20
20
  import moment from 'moment';
21
21
  import { BizUserConditionContext } from '..';
22
22
  import request from '../../utils/ajax';
@@ -264,8 +264,9 @@ var CdpConditionItem = function CdpConditionItem(props) {
264
264
  keyField: "metaDatasetId",
265
265
  value: dataset,
266
266
  onChange: onTableChange
267
- }), /*#__PURE__*/React.createElement(Tooltip, {
268
- title: "\u9009\u62E9\u660E\u7EC6\u6570\u636E\uFF0C\u589E\u52A0\u5E2E\u52A9\u5F15\u5BFC\u5165\u53E3"
267
+ }), /*#__PURE__*/React.createElement("a", {
268
+ target: "_blank",
269
+ href: "https://docs.zhugeio.com/datamanager/detail_data.html"
269
270
  }, /*#__PURE__*/React.createElement(IconFont, {
270
271
  type: "bangzhu",
271
272
  className: "".concat(classPrefix, "-select-tips")
@@ -16,7 +16,7 @@ import { PropType } from '../types';
16
16
  import './styles/cdpCshCondition.less';
17
17
  import _ from 'lodash';
18
18
  import { dateOperate, numberOperateCsh, numberTypeCsh, stringOperate, numberOperateCsh2 } from '../../attrConditions/utils/operates';
19
- import { DatePicker, Input, Tooltip } from 'antd';
19
+ import { DatePicker, Input } from 'antd';
20
20
  import moment from 'moment';
21
21
  import { BizUserConditionContext } from '..';
22
22
  import request from '../../utils/ajax';
@@ -408,8 +408,9 @@ var CdpConditionItem = function CdpConditionItem(props) {
408
408
  keyField: "metaDatasetId",
409
409
  value: subDataset,
410
410
  onChange: onSubTableChange
411
- }), /*#__PURE__*/React.createElement(Tooltip, {
412
- title: "\u9009\u62E9\u660E\u7EC6\u6570\u636E\uFF0C\u589E\u52A0\u5E2E\u52A9\u5F15\u5BFC\u5165\u53E3"
411
+ }), /*#__PURE__*/React.createElement("a", {
412
+ target: "_blank",
413
+ href: "https://docs.zhugeio.com/datamanager/detail_data.html"
413
414
  }, /*#__PURE__*/React.createElement(IconFont, {
414
415
  type: "bangzhu",
415
416
  className: "".concat(classPrefix, "-select-tips")
@@ -470,8 +471,9 @@ var CdpConditionItem = function CdpConditionItem(props) {
470
471
  keyField: "metaDatasetId",
471
472
  value: dataset,
472
473
  onChange: onTableChange
473
- }), /*#__PURE__*/React.createElement(Tooltip, {
474
- title: "\u9009\u62E9\u660E\u7EC6\u6570\u636E\uFF0C\u589E\u52A0\u5E2E\u52A9\u5F15\u5BFC\u5165\u53E3"
474
+ }), /*#__PURE__*/React.createElement("a", {
475
+ target: "_blank",
476
+ href: "https://docs.zhugeio.com/datamanager/detail_data.html"
475
477
  }, /*#__PURE__*/React.createElement(IconFont, {
476
478
  type: "bangzhu",
477
479
  className: "".concat(classPrefix, "-select-tips")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.2.51-plat.2",
3
+ "version": "1.2.51-plat.4",
4
4
  "module": "es/index.js",
5
5
  "typings": "es/index.d.ts",
6
6
  "files": [
@@ -55,7 +55,7 @@
55
55
  "react": "^16.12.0 || ^17.0.0",
56
56
  "yorkie": "^2.0.0"
57
57
  },
58
- "gitHead": "2415a78f6240b5bce5248e8db6522d175f9bc374",
58
+ "gitHead": "eca6be950f89f3a27c5d04e7dbb02b99f59858e9",
59
59
  "gitHooks": {
60
60
  "pre-commit": "lint-staged"
61
61
  }