添加重置ql reset命令,支持批量操作ck

This commit is contained in:
hanhh
2021-06-07 21:54:49 +08:00
parent 64aadb7eb8
commit 9e666f4348
11 changed files with 166 additions and 39 deletions
+3 -3
View File
@@ -18,7 +18,7 @@ const optionsWithDisabled = [
];
const Password = () => {
const [width, setWdith] = useState('100%');
const [width, setWidth] = useState('100%');
const [marginLeft, setMarginLeft] = useState(0);
const [marginTop, setMarginTop] = useState(-72);
const [value, setValue] = useState('');
@@ -56,11 +56,11 @@ const Password = () => {
useEffect(() => {
if (document.body.clientWidth < 768) {
setWdith('auto');
setWidth('auto');
setMarginLeft(0);
setMarginTop(0);
} else {
setWdith('100%');
setWidth('100%');
setMarginLeft(0);
setMarginTop(-72);
}