File tree Expand file tree Collapse file tree 6 files changed +18
-18
lines changed
components/common/Setting Expand file tree Collapse file tree 6 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ const columns = [
8888 {
8989 title: ' Action' ,
9090 key: ' _id' ,
91- width: 200 ,
91+ width: 220 ,
9292 render(row : KeyConfig ) {
9393 const actions: any [] = []
9494 if (row .status === Status .Normal ) {
Original file line number Diff line number Diff line change @@ -66,22 +66,22 @@ const columns = [
6666 {
6767 title: ' Action' ,
6868 key: ' _id' ,
69- width: 200 ,
69+ width: 220 ,
7070 render(row : any ) {
7171 const actions: any [] = []
72- if (row .status === Status .Normal ) {
73- actions .push (h (
74- NButton ,
75- {
76- size: ' small' ,
77- type: ' error' ,
78- style: {
79- marginRight: ' 6px' ,
80- },
81- onClick : () => handleUpdateUserStatus (row ._id , Status .Deleted ),
72+ actions .push (h (
73+ NButton ,
74+ {
75+ size: ' small' ,
76+ type: ' error' ,
77+ style: {
78+ marginRight: ' 6px' ,
8279 },
83- { default : () => t (' chat.deleteUser' ) },
84- ))
80+ onClick : () => handleUpdateUserStatus (row ._id , Status .Deleted ),
81+ },
82+ { default : () => t (' chat.deleteUser' ) },
83+ ))
84+ if (row .status === Status .Normal ) {
8585 actions .push (h (
8686 NButton ,
8787 {
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default {
6464 usageTotal : 'Total token cost' ,
6565 deleteUser : 'Delete User' ,
6666 setUserRole : 'Set Role' ,
67- deleteUserConfirm : 'Are you sure to delete this user?' ,
67+ deleteUserConfirm : 'Are you sure to delete this user? After deletion, this email can never be registered or logged in again. ' ,
6868 verifiedUser : 'Verified User' ,
6969 deleteKey : 'Delete Key' ,
7070 editKeyButton : 'Edit Key' ,
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default {
6464 usageTotal : '총 소비 token' ,
6565 deleteUser : 'Delete User' ,
6666 setUserRole : 'Set Role' ,
67- deleteUserConfirm : 'Are you sure to delete this user?' ,
67+ deleteUserConfirm : 'Are you sure to delete this user? After deletion, this email can never be registered or logged in again. ' ,
6868 verifiedUser : 'Verified User' ,
6969 deleteKey : 'Delete Key' ,
7070 editKeyButton : 'Edit Key' ,
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default {
6464 usageTotal : '总消耗 token' ,
6565 deleteUser : '删除用户' ,
6666 setUserRole : '设置权限' ,
67- deleteUserConfirm : '你确定要删除这个用户吗?' ,
67+ deleteUserConfirm : '你确定要删除这个用户吗? 删除后这个邮箱永远无法注册登录 ' ,
6868 verifiedUser : '通过验证' ,
6969 deleteKey : '删除 Key' ,
7070 editKeyButton : '编辑 Key' ,
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default {
6464 usageTotal : '總消耗 token' ,
6565 deleteUser : '删除用户' ,
6666 setUserRole : '设置权限' ,
67- deleteUserConfirm : '你确定要删除这个用户吗?' ,
67+ deleteUserConfirm : '你确定要删除这个用户吗? 删除后这个邮箱永远无法注册登录 ' ,
6868 verifiedUser : '通过验证' ,
6969 deleteKey : '删除 Key' ,
7070 editKeyButton : '编辑 Key' ,
You can’t perform that action at this time.
0 commit comments