From 9bbbd840590a472ed8028098a85233d1f9b0f561 Mon Sep 17 00:00:00 2001 From: "WANGFAN\\wangf" <15871339963@163.com> Date: Thu, 5 Dec 2024 17:25:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/commit-msg | 4 +--- .husky/pre-commit | 6 ++++-- src/App.vue | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) 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 = () => {