mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-12-31 20:58:38 +08:00
新增:个人中心新增查询操作日志功能,优化日志表结构,并支持关闭记录内网 IP 操作
This commit is contained in:
@@ -13,7 +13,7 @@ import useAppStore from '../app';
|
||||
|
||||
const useLoginStore = defineStore('user', {
|
||||
state: (): UserState => ({
|
||||
userId: 1,
|
||||
userId: '',
|
||||
username: '',
|
||||
nickname: '',
|
||||
gender: 0,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export type RoleType = '' | '*' | 'admin' | 'user';
|
||||
export interface UserState {
|
||||
userId: number;
|
||||
userId: string;
|
||||
username: string;
|
||||
nickname: string;
|
||||
gender: number;
|
||||
|
||||
Reference in New Issue
Block a user