刘翔宇-旅管家 3 years ago
parent 0ab9cf600d
commit 3c52374634

@ -72,6 +72,8 @@ export const constantRoutes = [{
} }
] ]
/** /**
* asyncRoutes * asyncRoutes
* the routes that need to be dynamically loaded based on user roles * the routes that need to be dynamically loaded based on user roles

@ -107,6 +107,7 @@
this.$refs.password.focus() this.$refs.password.focus()
}) })
}, },
//
handleLogin() { handleLogin() {
this.$refs.loginForm.validate(valid => { this.$refs.loginForm.validate(valid => {
if (valid) { if (valid) {

Loading…
Cancel
Save