mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-06-13 23:27:49 +08:00
21 lines
357 B
JavaScript
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
|
|
}
|
|
|