import logsApi from "@/api/logs"; // import { Message } from "element-ui"; export default { namespaced: true, state: { userInfo: {}, }, actions: { async getLogsList({ state }, params) { const res = await logsApi.getLogsList(params); return res; }, async getLogsOperationType({ state }) { const res = await logsApi.getLogsOperationType(); return res; }, async exportLogs({ state },params) { const res = await logsApi.exportLogs(params); return res; } }, };