ball_admin/src/store/archives.ts

20 lines
515 B
TypeScript

import { makeObservable } from "mobx";
// 用户信息
import BaseStore from "./baseStore";
import { TagDataType } from "@/model/userModel";
class ArchivesConfig {
static LIST: string = "archives/list"
static ADD: string = "archives"
static DELETE: string = "archives"
static EDIT: string = "archives"
}
class ArchivesStore extends BaseStore<TagDataType> {
constructor() {
super(ArchivesConfig)
makeObservable(this, {})
}
}
export const archivesStore = new ArchivesStore()