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