mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-18 10:39:20 +08:00
添加重置ql reset命令,支持批量操作ck
This commit is contained in:
@@ -7,7 +7,7 @@ import ReactDiffViewer from 'react-diff-viewer';
|
||||
import './index.less';
|
||||
|
||||
const Crontab = () => {
|
||||
const [width, setWdith] = useState('100%');
|
||||
const [width, setWidth] = useState('100%');
|
||||
const [marginLeft, setMarginLeft] = useState(0);
|
||||
const [marginTop, setMarginTop] = useState(-72);
|
||||
const [value, setValue] = useState('');
|
||||
@@ -32,11 +32,11 @@ const Crontab = () => {
|
||||
|
||||
useEffect(() => {
|
||||
if (document.body.clientWidth < 768) {
|
||||
setWdith('auto');
|
||||
setWidth('auto');
|
||||
setMarginLeft(0);
|
||||
setMarginTop(0);
|
||||
} else {
|
||||
setWdith('100%');
|
||||
setWidth('100%');
|
||||
setMarginLeft(0);
|
||||
setMarginTop(-72);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user