@zgfe/business-lib 1.2.34-tags.2 → 1.2.34-tags.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.
@@ -53,7 +53,6 @@ var PropCondition = function PropCondition(props) {
53
53
  function buildDefault() {
54
54
  var list = [];
55
55
  attrs.forEach(function (attr) {
56
- console.log('attr===', attr);
57
56
  var attrId = attr.attrId,
58
57
  attrName = attr.attrName,
59
58
  operator = attr.operator,
@@ -69,7 +68,7 @@ var PropCondition = function PropCondition(props) {
69
68
  } else {
70
69
  list.push({
71
70
  attr: attr,
72
- placeholder: placeholder || '请选择属性',
71
+ placeholder: placeholder,
73
72
  id: Math.random()
74
73
  });
75
74
  }
@@ -152,7 +151,6 @@ var PropCondition = function PropCondition(props) {
152
151
  if (isEvent) {
153
152
  props.eventIdList = [eventId];
154
153
  }
155
- console.log('renderAttr', props);
156
154
  return /*#__PURE__*/React.createElement("div", {
157
155
  className: "".concat(classPrefix, "-prop-condition-attr"),
158
156
  key: id
@@ -43,6 +43,7 @@ export default (function () {
43
43
  openTagCondition: true,
44
44
  openCdpCondition: true,
45
45
  userTagsData: userTagsData,
46
+ labelCreateType: 12,
46
47
  isRealTime: true
47
48
  });
48
49
  return /*#__PURE__*/React.createElement(DemoWrapper, {
@@ -53,7 +53,7 @@ export function buildCondition(type, labelCreateType) {
53
53
  eventId: undefined,
54
54
  attrs: [{
55
55
  attrId: 0,
56
- placeholder: labelCreateType === LabelCreateType.financeValue ? '风险等级' : ''
56
+ placeholder: labelCreateType === LabelCreateType.riskLevel ? '风险等级' : ''
57
57
  }]
58
58
  };
59
59
  case 'tag':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.2.34-tags.2",
3
+ "version": "1.2.34-tags.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": "528cbad3dd6181fb3877ccb46450e5e9fdbf0274",
58
+ "gitHead": "6d32833cc1290a20118cebcf18926bc9356534bf",
59
59
  "gitHooks": {
60
60
  "pre-commit": "lint-staged"
61
61
  }