coolcare-lite-scada-component 1.0.57 → 1.0.58
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,6 +170,7 @@ var ModalChoosePoint = function ModalChoosePoint(_ref) {
|
|
|
170
170
|
}
|
|
171
171
|
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
172
172
|
name: "deviceId",
|
|
173
|
+
className: "temperatureDeviceSelect",
|
|
173
174
|
label: "\u8BBE\u5907",
|
|
174
175
|
rules: [{
|
|
175
176
|
required: true,
|
|
@@ -183,6 +184,9 @@ var ModalChoosePoint = function ModalChoosePoint(_ref) {
|
|
|
183
184
|
form.setFieldsValue({
|
|
184
185
|
pointIdList: []
|
|
185
186
|
});
|
|
187
|
+
},
|
|
188
|
+
getPopupContainer: function getPopupContainer() {
|
|
189
|
+
return document.querySelector(".temperatureDeviceSelect") || document.body;
|
|
186
190
|
}
|
|
187
191
|
}, deviceList.map(function (item) {
|
|
188
192
|
return /*#__PURE__*/React.createElement(Option, {
|
|
@@ -201,14 +205,18 @@ var ModalChoosePoint = function ModalChoosePoint(_ref) {
|
|
|
201
205
|
rules: [{
|
|
202
206
|
required: true,
|
|
203
207
|
message: '请选择'
|
|
204
|
-
}]
|
|
208
|
+
}],
|
|
209
|
+
className: "temperaturePointSelect"
|
|
205
210
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
206
211
|
allowClear: true,
|
|
207
212
|
mode: 'multiple',
|
|
208
213
|
showSearch: true,
|
|
209
214
|
optionFilterProp: "label",
|
|
210
215
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
211
|
-
disabled: !getFieldValue('deviceId')
|
|
216
|
+
disabled: !getFieldValue('deviceId'),
|
|
217
|
+
getPopupContainer: function getPopupContainer() {
|
|
218
|
+
return document.querySelector(".temperaturePointSelect") || document.body;
|
|
219
|
+
}
|
|
212
220
|
}, pointList.map(function (item) {
|
|
213
221
|
return /*#__PURE__*/React.createElement(Option, {
|
|
214
222
|
value: item.pointId,
|