去掉多余控制台打印

This commit is contained in:
tangly1024
2022-03-17 14:57:52 +08:00
parent 5a054c4ee7
commit c8709cccaa

View File

@@ -29,7 +29,6 @@ export function GlobalContextProvider ({ children }) {
useEffect(() => {
if (!hasInit) {
const userTheme = getQueryVariable('theme')
console.log('用户主题', userTheme)
if (userTheme && ALL_THEME.indexOf(userTheme) > -1) {
setTheme(userTheme)
}