|
@@ -48,7 +48,7 @@ export default {
|
|
|
const res = await this.login({ userName: this.userName, password: this.password })
|
|
|
if (res.errcode === 0) {
|
|
|
sessionStorage.setItem('token', res.token)
|
|
|
- this.$router.push({ path: '/home/devinfo' })
|
|
|
+ this.$router.push({ path: '/devinfo' })
|
|
|
}
|
|
|
}
|
|
|
}
|