|
|
@@ -178,9 +178,9 @@ export default {
|
|
|
logout({ commit, dispatch }, { vm, confirm = false }) {
|
|
|
// 判断是否需要确认
|
|
|
if (confirm) {
|
|
|
- commit('ibps/gray/set', true, {
|
|
|
- root: true
|
|
|
- })
|
|
|
+ // commit('ibps/gray/set', true, {
|
|
|
+ // root: true
|
|
|
+ // })
|
|
|
MessageBox.confirm(vm.$t('logout.message'), vm.$t('logout.title'), {
|
|
|
confirmButtonText: vm.$t('logout.confirmButtonText'),
|
|
|
cancelButtonText: vm.$t('logout.cancelButtonText'),
|
|
|
@@ -214,7 +214,7 @@ export default {
|
|
|
name: 'login'
|
|
|
})
|
|
|
})
|
|
|
- .catch(() => {})
|
|
|
+ .catch(() => { })
|
|
|
return
|
|
|
}
|
|
|
// 后台登出
|
|
|
@@ -226,7 +226,7 @@ export default {
|
|
|
name: 'login'
|
|
|
})
|
|
|
})
|
|
|
- .catch(() => {})
|
|
|
+ .catch(() => { })
|
|
|
})
|
|
|
.catch(() => {
|
|
|
dispatch('fedLogout')
|
|
|
@@ -235,7 +235,7 @@ export default {
|
|
|
name: 'login'
|
|
|
})
|
|
|
})
|
|
|
- .catch(() => {})
|
|
|
+ .catch(() => { })
|
|
|
})
|
|
|
},
|
|
|
/**
|