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 @@