coolcare-lite-scada-component 1.0.25 → 1.0.27

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.
@@ -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,
@@ -165,6 +165,7 @@ var ModalChoosePoint = function ModalChoosePoint(_ref) {
165
165
  }, /*#__PURE__*/React.createElement(Form.Item, {
166
166
  name: "deviceId",
167
167
  label: "\u8BBE\u5907",
168
+ className: "temperatureSelect",
168
169
  rules: [{
169
170
  required: true,
170
171
  message: '请选择'
@@ -176,6 +177,10 @@ var ModalChoosePoint = function ModalChoosePoint(_ref) {
176
177
  form.setFieldsValue({
177
178
  pointIdList: []
178
179
  });
180
+ },
181
+ showSearch: true,
182
+ getPopupContainer: function getPopupContainer() {
183
+ return document.querySelector(".temperatureSelect") || document.body;
179
184
  }
180
185
  }, deviceList.map(function (item) {
181
186
  return /*#__PURE__*/React.createElement(Option, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coolcare-lite-scada-component",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "scripts": {
5
5
  "start": "umi dev",
6
6
  "build:prod": "UMI_ENV=prod umi build",