coolcare-lite-scada-component 1.0.24 → 1.0.26

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.
@@ -42,7 +42,6 @@ var DialogPointHistory = function DialogPointHistory(_ref) {
42
42
  intervalProp = _ref.intervalProp,
43
43
  visible = _ref.visible,
44
44
  onCancel = _ref.onCancel,
45
- getContainer = _ref.getContainer,
46
45
  companyId = _ref.companyId,
47
46
  projectId = _ref.projectId;
48
47
  var _Form$useForm = Form.useForm(),
@@ -378,15 +377,14 @@ var DialogPointHistory = function DialogPointHistory(_ref) {
378
377
  }, [visible, form, pointIdListProp, dateRangeProp, intervalProp]);
379
378
  return /*#__PURE__*/React.createElement(Modal, {
380
379
  title: "\u5386\u53F2\u6570\u636E\u66F2\u7EBF",
381
- visible: visible,
380
+ open: visible,
382
381
  closable: true,
383
382
  width: 1300,
383
+ zIndex: 42000,
384
384
  footer: null,
385
385
  onCancel: closeModal,
386
386
  afterClose: closeModal,
387
- getContainer: function getContainer() {
388
- return document.body;
389
- }
387
+ getContainer: false
390
388
  }, /*#__PURE__*/React.createElement(Form, {
391
389
  requiredMark: false,
392
390
  form: form,
@@ -152,8 +152,8 @@ var ModalChoosePoint = function ModalChoosePoint(_ref) {
152
152
  maskClosable: true,
153
153
  footer: null,
154
154
  onCancel: closeModal,
155
- visible: visible,
156
- wrapClassName: 'form-modal'
155
+ open: visible,
156
+ getContainer: false
157
157
  }, /*#__PURE__*/React.createElement(Form, {
158
158
  layout: "vertical",
159
159
  form: form,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coolcare-lite-scada-component",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "scripts": {
5
5
  "start": "umi dev",
6
6
  "build:prod": "UMI_ENV=prod umi build",