diff --git a/.husky/commit-msg b/.husky/commit-msg index c8b18f5..834a8a2 100644 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,2 @@ #!/usr/bin/env sh -. "$(dirname "$0")/husky.sh" - -npm run lint:lint-staged +. "${0%/*}/h" diff --git a/.husky/pre-commit b/.husky/pre-commit index 21c69a4..7bae03b 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,4 @@ -#!/usr/bin/env sh -. "${0%/*}/h" \ No newline at end of file +#!/usr/bin/env sh +. "${0%/*}/h" + +npm run lint:lint-staged diff --git a/src/App.vue b/src/App.vue index b423825..c1b408f 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 = "123456"; // 初始化主题 const onTheme = () => {