This commit is contained in:
fuhl 2023-04-18 20:49:47 +08:00
parent 1cd8b888f3
commit fb4d8c9c93

View File

@ -69,9 +69,8 @@ function useSwitchTheme() {
metaDescriptionLight?.setAttribute("content", themeColor);
}
}, [config.theme]);
}
function leftDivFun() {
useEffect(() => {
/**
* 广
*/
@ -159,8 +158,11 @@ function leftDivFun() {
// 移除自身
leftDiv.remove();
});
}, [config]);
}
function leftDivFun() {}
function useDragSideBar() {
const limit = (x: number) => Math.min(500, Math.max(220, x));