@titaui/pc 1.9.4 → 1.9.5

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.
@@ -98,7 +98,7 @@ var SubmitDialog = function SubmitDialog(props) {
98
98
  destroyOnClose: true,
99
99
  noCloseIcon: true,
100
100
  getContainer: function getContainer() {
101
- return allViewAreaRef.current;
101
+ return document.body;
102
102
  }
103
103
  }, /*#__PURE__*/_react["default"].createElement("div", {
104
104
  className: "okr-cases-library__submitWindow"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.9.4",
3
+ "version": "1.9.5",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "src/index.js",
@@ -44,7 +44,7 @@ export const SubmitDialog = (props: Props1) => {
44
44
 
45
45
 
46
46
  return (
47
- <Dialog visible={isShowSubmitOkrWindow} noFooter width="480px" destroyOnClose noCloseIcon getContainer={() => allViewAreaRef.current}>
47
+ <Dialog visible={isShowSubmitOkrWindow} noFooter width="480px" destroyOnClose noCloseIcon getContainer={() => document.body}>
48
48
  <div className="okr-cases-library__submitWindow">
49
49
  <img src={require('../image/submit小驴.svg')} />
50
50
  <div className="tu-icon-canceled" onClick={() => handleShowSubmitOkrWindow(false)} />