refactor: setup version complete

This commit is contained in:
xiaoxian521
2021-09-19 15:39:44 +08:00
parent afff1d677b
commit 8bb67d4a5a
4 changed files with 6 additions and 107 deletions

View File

@@ -33,7 +33,7 @@ export const removeClass = (
export const toggleClass = (
flag: boolean,
clsName: string,
target?: HTMLElement
target?: RefType<any>
): any => {
const targetEl = target || document.body;
let { className } = targetEl;