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', reset:'Reset',
pending:'Pending', pending:'Pending',
authorized:'Authorized', authorized:'Authorized',
authfree:'AUTH-FREE',
}, },
user:{ user:{
title:'User Information', title:'User Information',

View File

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

View File

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