ball_admin/src/store/team.ts

20 lines
480 B
TypeScript

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