refactor: 使用eslint.config.js替换.eslintrc.js并遵循esm语法 (#786)

This commit is contained in:
xiaoming
2023-11-10 23:18:01 +08:00
committed by GitHub
parent 18158f8e0d
commit 5b7dd8c3e2
102 changed files with 431 additions and 424 deletions

View File

@@ -142,8 +142,8 @@ watch(loginDay, value => {
@click="translationCh"
>
<IconifyIconOffline
class="check-zh"
v-show="locale === 'zh'"
class="check-zh"
:icon="Check"
/>
简体中文
@@ -153,7 +153,7 @@ watch(loginDay, value => {
:class="['dark:!text-white', getDropdownItemClass(locale, 'en')]"
@click="translationEn"
>
<span class="check-en" v-show="locale === 'en'">
<span v-show="locale === 'en'" class="check-en">
<IconifyIconOffline :icon="Check" />
</span>
English
@@ -194,8 +194,8 @@ watch(loginDay, value => {
prop="username"
>
<el-input
clearable
v-model="ruleForm.username"
clearable
:placeholder="t('login.username')"
:prefix-icon="useRenderIcon(User)"
/>
@@ -205,9 +205,9 @@ watch(loginDay, value => {
<Motion :delay="150">
<el-form-item prop="password">
<el-input
v-model="ruleForm.password"
clearable
show-password
v-model="ruleForm.password"
:placeholder="t('login.password')"
:prefix-icon="useRenderIcon(Lock)"
/>
@@ -217,8 +217,8 @@ watch(loginDay, value => {
<Motion :delay="200">
<el-form-item prop="verifyCode">
<el-input
clearable
v-model="ruleForm.verifyCode"
clearable
:placeholder="t('login.verifyCode')"
:prefix-icon="useRenderIcon('ri:shield-keyhole-line')"
>