This commit is contained in:
zyronon 2024-04-02 18:43:44 +08:00
parent 529557fc75
commit 1fdb683fc7
5 changed files with 4 additions and 16 deletions

View File

@ -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"
]
}
}

View File

@ -63,7 +63,7 @@ export default {
style={{
width: this.tabStyleWidth || 100 / this.tabTexts.length + '%'
}}
onClick={( ) => this.changeIndex(index)}
onClick={() => this.changeIndex(index)}
>
<span> {item}</span>
</div>

View File

@ -51,7 +51,7 @@
<div v-if="currentFixedIndicator" class="row no-active no-padding border index fixed">
<span>{{ currentFixedIndicator }}</span>
</div>
<div :key="name" v-for="(value, name) of countryOk">
<div :key="name" v-for="(value, name) of countryOk">
<div :class="name" class="row no-active no-padding border index">
<span>{{ name }}</span>
</div>

View File

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

View File

@ -90,7 +90,7 @@
</SlideHorizontal>
<transition name="fade">
<BaseMask v-if="maskDialog" @click="maskDialog = false"/>
<BaseMask v-if="maskDialog" @click="maskDialog = false" />
</transition>
<transition name="fade">