2022-12-14 18:38:51 +08:00

23 lines
410 B
JavaScript

// api
import { GetCategory } from "@/api/info";;
const state = {};
const getters = {}
const mutations = {}
const actions = {
categoryAction() {
return new Promise((resolve, reject) => {
GetCategory().then(response => {
resolve(response.data)
})
})
}
}
export default {
namespaced: true,
state,
getters,
mutations,
actions
};