31 lines
418 B
JavaScript
31 lines
418 B
JavaScript
import { GetOrderPush } from "../../api/user";
|
|
|
|
const defaultState = () => {
|
|
return {
|
|
pushOrderInfo: {},
|
|
};
|
|
};
|
|
|
|
const state = defaultState();
|
|
|
|
const getters = {};
|
|
|
|
const mutations = {};
|
|
|
|
const actions = {
|
|
async getOrderPush() {
|
|
let res = await GetOrderPush();
|
|
if (res && res.status) {
|
|
debugger;
|
|
}
|
|
},
|
|
};
|
|
|
|
export default {
|
|
namespaced: true,
|
|
state,
|
|
getters,
|
|
mutations,
|
|
actions,
|
|
};
|