2
0

fix:终端界面状态中英修复

This commit is contained in:
zhongzm
2025-02-11 18:24:24 +08:00
parent eb883385e8
commit b6961c9cfd
3 changed files with 6 additions and 2 deletions

View File

@@ -745,6 +745,8 @@ const local: any = {
plemac:'Please enter MAC address',
search:'Search',
reset:'Reset',
pending:'Pending',
authorized:'Authorized',
},
user:{
title:'User Information',

View File

@@ -745,6 +745,8 @@ const local:any = {
plemac:'请输入MAC地址',
search:'搜索',
reset:'重置',
pending:'未授权',
authorized:'已授权',
},
user:{
title:'用户信息',

View File

@@ -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');
}