From 6087ae2b4e325bec72214cb12b6fe9ca4ededc8c Mon Sep 17 00:00:00 2001 From: wang_fan_w <2547096351@qq.com> Date: Sun, 12 May 2024 23:22:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=A8=AA=E5=90=91=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/_/commit-msg | 4 +- .husky/_/pre-commit | 7 +++- src/layout/components/head-menu/index.vue | 48 ----------------------- 3 files changed, 8 insertions(+), 51 deletions(-) delete mode 100644 src/layout/components/head-menu/index.vue diff --git a/.husky/_/commit-msg b/.husky/_/commit-msg index 21c69a4..94647a4 100644 --- a/.husky/_/commit-msg +++ b/.husky/_/commit-msg @@ -1,2 +1,4 @@ #!/usr/bin/env sh -. "${0%/*}/h" \ No newline at end of file +. "$(dirname -- "$0")/husky.sh" + +npx --no-install commitlint --edit $1 \ No newline at end of file diff --git a/.husky/_/pre-commit b/.husky/_/pre-commit index 21c69a4..1bbfe41 100644 --- a/.husky/_/pre-commit +++ b/.husky/_/pre-commit @@ -1,2 +1,5 @@ -#!/usr/bin/env sh -. "${0%/*}/h" \ No newline at end of file +#!/bin/sh + +. "$(dirname "$0")/husky.sh" + +npm run lint-staged \ No newline at end of file diff --git a/src/layout/components/head-menu/index.vue b/src/layout/components/head-menu/index.vue deleted file mode 100644 index a6dc7bf..0000000 --- a/src/layout/components/head-menu/index.vue +++ /dev/null @@ -1,48 +0,0 @@ - - - - -