diff --git a/.husky/commit-msg b/.husky/commit-msg index 4df9464..6212e44 100644 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,2 +1,2 @@ #!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" +. "$(dirname "$0")/husky.sh" diff --git a/.husky/pre-commit b/.husky/pre-commit index aacda1b..b7637b4 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" +. "$(dirname "$0")/_/husky.sh" -pnpm run lint:lint-staged +pnpm run fix diff --git a/src/App.vue b/src/App.vue index b423825..4ba6492 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,7 +8,7 @@ import { loadingPage } from "@/utils/loading-page"; import { useThemeMethods } from "@/hooks/useThemeMethods"; -let a = "12345"; +let a = "123453"; // 初始化主题 const onTheme = () => {