feat:终端设备免认证状态添加
This commit is contained in:
@@ -970,6 +970,7 @@ const local: any = {
|
||||
reset:'Reset',
|
||||
pending:'Pending',
|
||||
authorized:'Authorized',
|
||||
authfree:'AUTH-FREE',
|
||||
},
|
||||
user:{
|
||||
title:'User Information',
|
||||
|
||||
@@ -971,6 +971,7 @@ const local:any = {
|
||||
reset:'重置',
|
||||
pending:'未授权',
|
||||
authorized:'已授权',
|
||||
authfree:'免认证',
|
||||
},
|
||||
user:{
|
||||
title:'用户信息',
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user