From 1fdb683fc73d86cec68dbfa3c4bb650abe09f382 Mon Sep 17 00:00:00 2001 From: zyronon Date: Tue, 2 Apr 2024 18:43:44 +0800 Subject: [PATCH] save --- package.json | 12 ------------ src/components/slide/IndicatorLight.vue | 2 +- src/pages/login/countryChoose.vue | 2 +- src/pages/message/chat/Chat.vue | 2 +- src/pages/people/FindAcquaintance.vue | 2 +- 5 files changed, 4 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index c377cc7..c819551 100644 --- a/package.json +++ b/package.json @@ -47,17 +47,5 @@ "vite-plugin-cdn-import": "0.3.5", "vite-plugin-compression": "^0.5.1", "vite-plugin-imagemin": "^0.6.1" - }, - "husky":{ - "hooks": { - "pre-commit": "lint-staged" - } - }, - "lint-staged": { - "src/**": [ - "prettier --write src/", - "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore", - "git add" - ] } } diff --git a/src/components/slide/IndicatorLight.vue b/src/components/slide/IndicatorLight.vue index 5978aa6..f8133cd 100644 --- a/src/components/slide/IndicatorLight.vue +++ b/src/components/slide/IndicatorLight.vue @@ -63,7 +63,7 @@ export default { style={{ width: this.tabStyleWidth || 100 / this.tabTexts.length + '%' }} - onClick={( ) => this.changeIndex(index)} + onClick={() => this.changeIndex(index)} > {item} diff --git a/src/pages/login/countryChoose.vue b/src/pages/login/countryChoose.vue index 83d5491..3a407f1 100644 --- a/src/pages/login/countryChoose.vue +++ b/src/pages/login/countryChoose.vue @@ -51,7 +51,7 @@
{{ currentFixedIndicator }}
-
+
{{ name }}
diff --git a/src/pages/message/chat/Chat.vue b/src/pages/message/chat/Chat.vue index f4871a0..bfa7c10 100644 --- a/src/pages/message/chat/Chat.vue +++ b/src/pages/message/chat/Chat.vue @@ -188,7 +188,7 @@ import { mapState } from 'pinia' import Loading from '../../../components/Loading' import { useBaseStore } from '@/store/pinia' import { _checkImgUrl } from '@/utils' -import $ from "jquery"; +import $ from 'jquery' let CALL_STATE = { REJECT: 0, diff --git a/src/pages/people/FindAcquaintance.vue b/src/pages/people/FindAcquaintance.vue index 89fc7c0..686323b 100644 --- a/src/pages/people/FindAcquaintance.vue +++ b/src/pages/people/FindAcquaintance.vue @@ -90,7 +90,7 @@ - +