|
|
@@ -10,6 +10,7 @@ import { dialog } from '@/utils/vant'
|
|
|
import { useLogin } from '@/business/login'
|
|
|
import eventBus from '@/services/bus'
|
|
|
import Notify from '@mobile/components/base/notify/index.vue'
|
|
|
+import { i18n } from '@/stores'
|
|
|
|
|
|
const { userLogout } = useLogin()
|
|
|
const { backHome } = useNavigation()
|
|
|
@@ -26,7 +27,7 @@ eventBus.$on('LogoutNotify', (msg) => {
|
|
|
if (msg) {
|
|
|
dialog({
|
|
|
message: msg as string,
|
|
|
- confirmButtonText: '确定'
|
|
|
+ confirmButtonText: i18n.global.t('operation.confirm')
|
|
|
}).then(() => {
|
|
|
backHome()
|
|
|
})
|
|
|
@@ -47,7 +48,7 @@ eventBus.$on('RiskToWebNtf', (msg, type) => {
|
|
|
dialog({
|
|
|
title: res.title,
|
|
|
message: res.content,
|
|
|
- confirmButtonText: '确定'
|
|
|
+ confirmButtonText: i18n.global.t('operation.confirm')
|
|
|
})
|
|
|
}
|
|
|
})
|