perf: 代码优化 utils/cache

This commit is contained in:
pany
2023-06-01 09:24:37 +08:00
parent 51916b6bc0
commit bf29e0e52a
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
import { ref, watchEffect } from "vue"
import { getActiveThemeName, setActiveThemeName } from "@/utils/cache/localStorage"
import { getActiveThemeName, setActiveThemeName } from "@/utils/cache/local-storage"
const DEFAULT_THEME_NAME = "normal"
type DefaultThemeName = typeof DEFAULT_THEME_NAME