@titaui/pc 1.9.136 → 1.9.139

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.
@@ -170,7 +170,7 @@ var BookDemoPCContent = function BookDemoPCContent(_ref) {
170
170
  content = content.slice(0, content.length - 1);
171
171
  (0, _request.sendEmailBookDemo)({
172
172
  title: "预约演示",
173
- content: content,
173
+ content: "".concat(content, " @fromNew."),
174
174
  code: verificationData.value,
175
175
  yzmGuidVal: yzmGuidVal.indexOf("?") !== -1 ? yzmGuidVal.slice(0, yzmGuidVal.indexOf("?")) : yzmGuidVal,
176
176
  source: source > 0 ? source : Source
@@ -136,7 +136,7 @@ var BookDemoPC = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
136
136
  onClose: handleCloseBookDemo,
137
137
  noFooter: true,
138
138
  noCloseIcon: true,
139
- destroyOnClose: false,
139
+ destroyOnClose: true,
140
140
  style: {
141
141
  width: "742px",
142
142
  borderRadius: "24px"
@@ -44,9 +44,9 @@ var bookDemoTransformDataToJson = function bookDemoTransformDataToJson(data, sou
44
44
  } else {
45
45
  result.employeeCount = item.value;
46
46
  }
47
- } else {
48
- result[item.id] = item.value;
49
47
  }
48
+
49
+ result[item.id] = item.value;
50
50
  } else if (item.type === "checkbox" && item.multiSelect) {
51
51
  Object.keys(item.value).forEach(function (key) {
52
52
  result[key] = item.value[key].isSelected ? 1 : 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.9.136",
3
+ "version": "1.9.139",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",