import { MutationType } from "../types"; // /** // * 你的mutation名称和作用 // * 注:MutationType支持传递泛型,默认不传递则data的类型为IModel,如果定义了泛型则data的类型是该泛型类型 // * @param model 数据状态 // * @param data 所接受到的参数 // * @param actions 可使用该变量跳转到其它的mutation函数中 // * @param error 错误处理 // */ // export const yourMutationName: MutationType = ( // model, // data, // actions, // error // ) => { // return { // name: "Fastman V2" // }; // };