user
This commit is contained in:
@@ -133,7 +133,6 @@ export default {
|
||||
Cookies.remove('rememberMe')
|
||||
}
|
||||
this.$store.dispatch('Login', user).then(() => {
|
||||
debugger
|
||||
this.loading = false
|
||||
window.location.href = this.redirect
|
||||
// if (this.redirect === 'http://localhost:8013/dashboard'){
|
||||
|
||||
@@ -259,7 +259,6 @@ export default {
|
||||
}, 100)
|
||||
},
|
||||
getSupDepts(menuId) {
|
||||
debugger
|
||||
crudMenu.getMenuSuperior(menuId).then(res => {
|
||||
const children = res.map(function(obj) {
|
||||
if (!obj.leaf && !obj.children) {
|
||||
|
||||
@@ -477,7 +477,6 @@ export default {
|
||||
userRoles = []
|
||||
const _this = this
|
||||
if (form.roles !== null && form.roles.length > 0) {
|
||||
debugger
|
||||
form.roles.forEach(function(role, index) {
|
||||
_this.roleDatas.push(role)
|
||||
const rol = { id: role }
|
||||
|
||||
Reference in New Issue
Block a user