This commit is contained in:
zhangzhiqiang
2022-12-19 17:41:44 +08:00
parent 2b57c787b5
commit 06c385a086
15 changed files with 61 additions and 13 deletions

View File

@@ -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'){

View File

@@ -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) {

View File

@@ -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 }