fix:终端界面状态中英修复
This commit is contained in:
@@ -745,6 +745,8 @@ const local: any = {
|
|||||||
plemac:'Please enter MAC address',
|
plemac:'Please enter MAC address',
|
||||||
search:'Search',
|
search:'Search',
|
||||||
reset:'Reset',
|
reset:'Reset',
|
||||||
|
pending:'Pending',
|
||||||
|
authorized:'Authorized',
|
||||||
},
|
},
|
||||||
user:{
|
user:{
|
||||||
title:'User Information',
|
title:'User Information',
|
||||||
|
|||||||
@@ -745,6 +745,8 @@ const local:any = {
|
|||||||
plemac:'请输入MAC地址',
|
plemac:'请输入MAC地址',
|
||||||
search:'搜索',
|
search:'搜索',
|
||||||
reset:'重置',
|
reset:'重置',
|
||||||
|
pending:'未授权',
|
||||||
|
authorized:'已授权',
|
||||||
},
|
},
|
||||||
user:{
|
user:{
|
||||||
title:'用户信息',
|
title:'用户信息',
|
||||||
|
|||||||
@@ -73,9 +73,9 @@ const scrollConfig = computed(() => ({
|
|||||||
const getAuthStatusText = (status: number) => {
|
const getAuthStatusText = (status: number) => {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case 1:
|
case 1:
|
||||||
return 'pending';
|
return t('page.terminal.pending');
|
||||||
case 2:
|
case 2:
|
||||||
return 'authorized';
|
return t('page.terminal.authorized');
|
||||||
default:
|
default:
|
||||||
return t('page.terminal.unknow');
|
return t('page.terminal.unknow');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user