Skip to content

Commit 7917204

Browse files
committed
fix(view): lint 校验
1 parent 24a24b8 commit 7917204

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

admin/src/store/modules/user.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { login, logout, getInfo } from '@/api/user'
22
import { getToken, setToken, removeToken } from '@/utils/auth'
3-
import { resetRouter } from '@/router'
43

54
const state = {
65
token: getToken(),

admin/src/views/login/index.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,21 @@
1313
<svg-icon icon-class="password" />
1414
</span>
1515
<el-input
16-
:type="pwdType"
1716
v-model="loginForm.password"
17+
:type="pwdType"
1818
name="password"
1919
auto-complete="on"
2020
placeholder="password"
21-
@keyup.enter.native="handleLogin" />
21+
@keyup.enter.native="handleLogin"
22+
/>
2223
<span class="show-pwd" @click="showPwd">
2324
<svg-icon icon-class="eye" />
2425
</span>
2526
</el-form-item>
2627
<el-form-item>
2728
<el-row>
2829
<el-col id="captcha" :span="10" style="height: 42px;">
29-
<p id="wait" class="show"/>
30+
<p id="wait" class="show" />
3031
<p id="notice" class="hide">请先完成验证</p>
3132
</el-col>
3233
</el-row>

0 commit comments

Comments
 (0)