diff --git a/dist.zip b/dist.zip deleted file mode 100644 index 74e73de..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/src/components/toolBar/index.jsx b/src/components/toolBar/index.jsx index e540c7f..7c98878 100644 --- a/src/components/toolBar/index.jsx +++ b/src/components/toolBar/index.jsx @@ -26,6 +26,15 @@ export default class ToolBar extends React.Component { }; } + // componentDidMount() { + // // 浏览器强制要求全屏 API 必须由用户手势触发,所以你的 onFullscreen 必须绑定到按钮的 onClick 事件上,而不能在 componentDidMount 或 useEffect 里自动调用。 + // setTimeout(() => { + // debugger; + // const fullscreenBtn = document.querySelector(`.${styles.toolBarItem}[src*="fullscreen"]`); + // if (fullscreenBtn) fullscreenBtn.click(); + // }, 1000); + // } + handleMouseDown(e) { this.clientY = e.clientY; this.originalY = e.clientY; diff --git a/src/components/topBar/index.jsx b/src/components/topBar/index.jsx index b2dc4e6..8f29f8b 100644 --- a/src/components/topBar/index.jsx +++ b/src/components/topBar/index.jsx @@ -225,11 +225,11 @@ export class TopBar extends React.Component { return (
- + {getLabel(547293, labelData)}: this.handleFormChange({ level: value })} + > + + + + + + + + + this.handleFormChange({ @@ -296,23 +313,8 @@ export class TopBar extends React.Component { /> - - {getLabel(547299, labelData)}: - - - - - + + - + {/* {this.state.requestData.fclass == '0' && ( - - - - - - )} */} + + + + + + )} */}