移除弹出框的多国语言设置
Former-commit-id: 4ef4857d01461709506d9fb36ce3504f7fe4ae7c [formerly 4ef4857d01461709506d9fb36ce3504f7fe4ae7c [formerly 4ef4857d01461709506d9fb36ce3504f7fe4ae7c [formerly 4ef4857d01461709506d9fb36ce3504f7fe4ae7c [formerly 185552a460c8aa674a7bae8b69096c180e84969b [formerly 9780ed65fc066d902aea0e4c5972f61d13ff2cc2]]]]] Former-commit-id: af34c0c3dd8fd1e4ca521684563d6aec425dbcd3 Former-commit-id: c34e577c412e41b5814107333dfef541dbc28b64 Former-commit-id: b386a3fc11698f7d195757f7e5ebc78636d2bbe9 [formerly de3f9b65e613b499eec4eb762572c2be010dfa04] Former-commit-id: 667e4eb51669c6bb679630fe869422e7936d17f8 Former-commit-id: e535209514173a8e1ff726608e3652e2e3b3322c Former-commit-id: e4c3bdd504f5dc9b3dc15011dc876ce2a3534c4d Former-commit-id: c986dca4d737accc161fc3c3b4e55a6368923786 Former-commit-id: 7533f41e4331a9188dcbd98926efd485ccdca40d
This commit is contained in:
@@ -70,9 +70,9 @@ export default {
|
||||
// 判断是否需要确认
|
||||
if (confirm) {
|
||||
commit('d2admin/gray/set', true, { root: true })
|
||||
MessageBox.confirm(i18n.t('public.confirm.special.logout.message'), i18n.t('public.confirm.special.logout.title'), {
|
||||
confirmButtonText: i18n.t('public.confirm.special.logout.button.confirm'),
|
||||
cancelButtonText: i18n.t('public.confirm.special.logout.button.cancel'),
|
||||
MessageBox.confirm('确定要注销当前用户吗', '注销用户', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
})
|
||||
.then(() => {
|
||||
@@ -82,7 +82,7 @@ export default {
|
||||
.catch(() => {
|
||||
commit('d2admin/gray/set', false, { root: true })
|
||||
Message({
|
||||
message: i18n.t('public.message.special.logout.cancel')
|
||||
message: '取消注销操作'
|
||||
})
|
||||
})
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user