coolcare-lite-scada-component 1.0.27 → 1.0.28

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.
@@ -199,14 +199,18 @@ var ModalChoosePoint = function ModalChoosePoint(_ref) {
199
199
  rules: [{
200
200
  required: true,
201
201
  message: '请选择'
202
- }]
202
+ }],
203
+ className: "temperature2Select"
203
204
  }, /*#__PURE__*/React.createElement(Select, {
204
205
  allowClear: true,
205
206
  mode: 'multiple',
206
207
  showSearch: true,
207
208
  optionFilterProp: "label",
208
209
  placeholder: "\u8BF7\u9009\u62E9",
209
- disabled: !getFieldValue('deviceId')
210
+ disabled: !getFieldValue('deviceId'),
211
+ getPopupContainer: function getPopupContainer() {
212
+ return document.querySelector(".temperature2Select") || document.body;
213
+ }
210
214
  }, pointList.map(function (item) {
211
215
  return /*#__PURE__*/React.createElement(Option, {
212
216
  value: item.pointId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coolcare-lite-scada-component",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "scripts": {
5
5
  "start": "umi dev",
6
6
  "build:prod": "UMI_ENV=prod umi build",