Files
wvp/web/src/store/modules/log.js
2025-04-28 15:04:06 +08:00

21 lines
357 B
JavaScript

import { queryList } from '@/api/log'
const actions = {
queryList({ commit }, params) {
return new Promise((resolve, reject) => {
queryList(params).then(response => {
const { data } = response
resolve(data)
}).catch(error => {
reject(error)
})
})
}
}
export default {
namespaced: true,
actions
}