coolcare-lite-scada-component 1.0.33 → 1.0.34
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.
|
@@ -400,7 +400,8 @@ var DialogPointHistory = function DialogPointHistory(_ref) {
|
|
|
400
400
|
rules: [{
|
|
401
401
|
required: true,
|
|
402
402
|
message: '请选择时间范围'
|
|
403
|
-
}]
|
|
403
|
+
}],
|
|
404
|
+
className: "temperatureDateRange"
|
|
404
405
|
}, /*#__PURE__*/React.createElement(RangePicker, {
|
|
405
406
|
disabled: loading,
|
|
406
407
|
style: {
|
|
@@ -415,7 +416,10 @@ var DialogPointHistory = function DialogPointHistory(_ref) {
|
|
|
415
416
|
近一周: [moment().subtract(7, 'day'), moment()],
|
|
416
417
|
近一个月: [moment().subtract(30, 'day'), moment()]
|
|
417
418
|
},
|
|
418
|
-
format: "YYYY-MM-DD HH:mm"
|
|
419
|
+
format: "YYYY-MM-DD HH:mm",
|
|
420
|
+
getPopupContainer: function getPopupContainer() {
|
|
421
|
+
return document.querySelector(".temperatureDateRange") || document.body;
|
|
422
|
+
}
|
|
419
423
|
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
420
424
|
name: "interval",
|
|
421
425
|
label: "\u95F4\u9694\uFF08\u5206\u949F\uFF09",
|