diff --git a/src/store/monitor/userLoginLog.ts b/src/store/monitor/userLoginLog.ts index 6084a78..c86f0e0 100644 --- a/src/store/monitor/userLoginLog.ts +++ b/src/store/monitor/userLoginLog.ts @@ -21,13 +21,45 @@ export const useUserLoginLogStore = defineStore('userLoginLogStore', { // 登录token token: undefined, // 登录Ip - ipRegion: undefined, - // 登录Ip地点 ipAddress: undefined, + // 登录Ip归属地 + ipRegion: undefined, // 登录时代理 userAgent: undefined, // 操作类型 type: undefined, + // 标识客户端是否是通过Ajax发送请求的 + xRequestedWith: undefined, + // 用户代理的品牌和版本 + secChUa: undefined, + // 用户代理的底层平台架构 + secChUaArch: undefined, + // 用户代理的底层CPU架构位数 + secChUaBitness: undefined, + // 用户代理是否在手机设备上运行 + secChUaMobile: undefined, + // 用户代理的设备模型 + secChUaModel: undefined, + // 用户代理的底层操作系统/平台 + secChUaPlatform: undefined, + // 用户代理的底层操作系统版本 + secChUaPlatformVersion: undefined, + // 客户端设备像素比 + contentDpr: undefined, + // 客户端RAM内存的近似值 + deviceMemory: undefined, + // 客户端设备像素比 + dpr: undefined, + // 布局视口宽度 + viewportWidth: undefined, + // 所需资源宽度 + width: undefined, + // 客户端连接到服务器的近似带宽 + downlink: undefined, + // 有效连接类型 + ect: undefined, + // 应用层往返时间 + rtt: undefined, }, // 分页查询结果 pagination: { diff --git a/src/views/monitor/userLoginLog/index.vue b/src/views/monitor/userLoginLog/index.vue index 69483a7..94ebad3 100644 --- a/src/views/monitor/userLoginLog/index.vue +++ b/src/views/monitor/userLoginLog/index.vue @@ -60,27 +60,120 @@ onMounted(() => {