新增:个人中心新增查询操作日志功能,优化日志表结构,并支持关闭记录内网 IP 操作

This commit is contained in:
2023-01-16 00:18:53 +08:00
parent 79c741b68e
commit f4ea2d44d6
36 changed files with 1272 additions and 119 deletions

View File

@@ -13,7 +13,7 @@ import useAppStore from '../app';
const useLoginStore = defineStore('user', {
state: (): UserState => ({
userId: 1,
userId: '',
username: '',
nickname: '',
gender: 0,

View File

@@ -1,6 +1,6 @@
export type RoleType = '' | '*' | 'admin' | 'user';
export interface UserState {
userId: number;
userId: string;
username: string;
nickname: string;
gender: number;