diff --git a/src/app/home/system-management/user/user.component.html b/src/app/home/system-management/user/user.component.html
index 1389096..ab860f5 100644
--- a/src/app/home/system-management/user/user.component.html
+++ b/src/app/home/system-management/user/user.component.html
@@ -69,9 +69,12 @@
{{item.creationTime | date:"yyyy-MM-dd"}}
-
- {{i}}
-
+
+
+ {{i}}
+
+
+
|
diff --git a/src/app/home/system-management/user/user.component.ts b/src/app/home/system-management/user/user.component.ts
index 25463bd..73aed75 100644
--- a/src/app/home/system-management/user/user.component.ts
+++ b/src/app/home/system-management/user/user.component.ts
@@ -86,18 +86,8 @@ export class UserComponent implements OnInit {
this.http
.get('/api/Users', {
params: params,
- responseType: 'text',
})
- .subscribe((res: any) => {
- const key = '258e0ec35ea5c5d2479156be98e9b3e2';
- function base64ToHex(base64: string): string {
- const binary = atob(base64); // Base64 解码成二进制字符串
- return Array.from(binary) // 转换成字节数组
- .map((byte) => ('0' + byte.charCodeAt(0).toString(16)).slice(-2)) // 转16进制
- .join('');
- }
- const publicKeyHex = base64ToHex(res);
- const data = JSON.parse(sm4.decrypt(publicKeyHex, key) as any);
+ .subscribe((data: any) => {
this.isLoading = false;
this.userList = data.items;
|