中英文
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import router from '@/router';
|
||||
import store from '@/store';
|
||||
import { LiveList, LivelistInfo, LoginData, UserInfo } from '@/types';
|
||||
import { saveValue } from '@/utils/common';
|
||||
import { getValue, saveValue } from '@/utils/common';
|
||||
import { message } from 'ant-design-vue';
|
||||
import { del, get, post, put, setToken } from './base'
|
||||
|
||||
@@ -1014,11 +1014,21 @@ export async function luzhi(roomid: string){
|
||||
export async function getaddr() {
|
||||
const res = await get<any>('ip');
|
||||
const gj = res.data.address.split("|")[0];
|
||||
if(gj == "CN"){
|
||||
return ["zh", "中文", '人民币¥'];
|
||||
}else {
|
||||
return ['en', 'English', '美元$']
|
||||
const lan = getValue("Lanvuage");
|
||||
if(lan != null && lan){
|
||||
if(gj == "CN"){
|
||||
return ['人民币¥'];
|
||||
}else {
|
||||
return [ '美元$']
|
||||
}
|
||||
}else{
|
||||
if(gj == "CN"){
|
||||
return ["zh", "中文", '人民币¥'];
|
||||
}else {
|
||||
return ['en', 'English', '美元$']
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// export async function StopMCUMixTranscode(roomid: number) {
|
||||
|
||||
Reference in New Issue
Block a user