2
0

feat:终端设备免认证状态添加

This commit is contained in:
zhongzm
2025-06-19 15:28:06 +08:00
parent 5da91e48c8
commit d137f49ca0
3 changed files with 6 additions and 0 deletions

View File

@@ -970,6 +970,7 @@ const local: any = {
reset:'Reset',
pending:'Pending',
authorized:'Authorized',
authfree:'AUTH-FREE',
},
user:{
title:'User Information',

View File

@@ -971,6 +971,7 @@ const local:any = {
reset:'重置',
pending:'未授权',
authorized:'已授权',
authfree:'免认证',
},
user:{
title:'用户信息',

View File

@@ -76,6 +76,8 @@ const getAuthStatusText = (status: number) => {
return t('page.terminal.pending');
case 2:
return t('page.terminal.authorized');
case 3:
return t('page.terminal.authfree');
default:
return t('page.terminal.unknow');
}
@@ -87,6 +89,8 @@ const getAuthStatusColor = (status: number) => {
return 'warning';
case 2:
return 'success';
case 3:
return 'success';
default:
return 'default';
}