File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { login , logout , getInfo } from '@/api/user'
2
2
import { getToken , setToken , removeToken } from '@/utils/auth'
3
- import { resetRouter } from '@/router'
4
3
5
4
const state = {
6
5
token : getToken ( ) ,
Original file line number Diff line number Diff line change 13
13
<svg-icon icon-class =" password" />
14
14
</span >
15
15
<el-input
16
- :type =" pwdType"
17
16
v-model =" loginForm.password"
17
+ :type =" pwdType"
18
18
name =" password"
19
19
auto-complete =" on"
20
20
placeholder =" password"
21
- @keyup.enter.native =" handleLogin" />
21
+ @keyup.enter.native =" handleLogin"
22
+ />
22
23
<span class =" show-pwd" @click =" showPwd" >
23
24
<svg-icon icon-class =" eye" />
24
25
</span >
25
26
</el-form-item >
26
27
<el-form-item >
27
28
<el-row >
28
29
<el-col id =" captcha" :span =" 10" style =" height : 42px ;" >
29
- <p id =" wait" class =" show" />
30
+ <p id =" wait" class =" show" />
30
31
<p id =" notice" class =" hide" >请先完成验证</p >
31
32
</el-col >
32
33
</el-row >
You can’t perform that action at this time.
0 commit comments