|
|
@@ -1,12 +1,10 @@
|
|
|
import { timerInterceptor } from '@/utils/timer'
|
|
|
import { FunCode } from '@/constants/funcode'
|
|
|
-import { useErrorInfoStore, i18n } from '@/stores'
|
|
|
+import { useErrorInfoStore } from '@/stores'
|
|
|
import eventBus from '@/services/bus'
|
|
|
import { Package50 } from './package'
|
|
|
import { decodeProto } from './package/package50/proto'
|
|
|
|
|
|
-const { t } = i18n.global
|
|
|
-
|
|
|
/**
|
|
|
* 处理 Package50 消息推送
|
|
|
* @param pkg
|
|
|
@@ -29,7 +27,7 @@ export async function pushMessage50(pkg: Package50, contentType: 'encrypted' | '
|
|
|
errcode = JSON.parse(res).RetCode
|
|
|
}
|
|
|
// 用户登出通知
|
|
|
- eventBus.$emit('LogoutNotify', getErrorInfoByCode(errcode) || t('user.login.tips5'))
|
|
|
+ eventBus.$emit('LogoutNotify', getErrorInfoByCode(errcode) || '账号已登出')
|
|
|
break
|
|
|
}
|
|
|
case FunCode.MoneyChangedNotify: {
|