@ -72,6 +72,8 @@ export const constantRoutes = [{
}
]
/**
* asyncRoutes
* the routes that need to be dynamically loaded based on user roles
@ -107,6 +107,7 @@
this.$refs.password.focus()
})
},
//处理登录
handleLogin() {
this.$refs.loginForm.validate(valid => {
if (valid) {