Authored by 陈峰

commit

1 import Coupon from './coupon'; 1 import Coupon from './coupon';
  2 +import Order from './order';
2 3
3 4
4 -export default [...Coupon]; 5 +export default [...Coupon, ...Order];
@@ -3,6 +3,7 @@ import Vuex from 'vuex'; @@ -3,6 +3,7 @@ import Vuex from 'vuex';
3 import {createApi} from 'create-api'; 3 import {createApi} from 'create-api';
4 import storeYoho from './yoho'; 4 import storeYoho from './yoho';
5 import storeCoupon from './coupon'; 5 import storeCoupon from './coupon';
  6 +import storeUfo from './order';
6 7
7 Vue.use(Vuex); 8 Vue.use(Vuex);
8 9
@@ -11,6 +12,7 @@ export function createStore(context) { @@ -11,6 +12,7 @@ export function createStore(context) {
11 namespaced: true, 12 namespaced: true,
12 modules: { 13 modules: {
13 yoho: storeYoho(), 14 yoho: storeYoho(),
  15 + ufo: storeUfo(),
14 coupon: storeCoupon() 16 coupon: storeCoupon()
15 }, 17 },
16 strict: process.env.NODE_ENV !== 'production' 18 strict: process.env.NODE_ENV !== 'production'