|
@@ -29,6 +29,7 @@ import chat from '@/service/chat/index';
|
|
|
import itemClass from '@/service/item-class/index';
|
|
import itemClass from '@/service/item-class/index';
|
|
|
import item from '@/service/item/index';
|
|
import item from '@/service/item/index';
|
|
|
import ptItem from '@/service/pt-item/index';
|
|
import ptItem from '@/service/pt-item/index';
|
|
|
|
|
+import product from '@/service/product/index';
|
|
|
|
|
|
|
|
export function SET_SERVICE({ store }) {
|
|
export function SET_SERVICE({ store }) {
|
|
|
// const files = require.context('@/service/', true, /\.js$/);
|
|
// const files = require.context('@/service/', true, /\.js$/);
|
|
@@ -63,7 +64,8 @@ export function SET_SERVICE({ store }) {
|
|
|
chat,
|
|
chat,
|
|
|
itemClass,
|
|
itemClass,
|
|
|
item,
|
|
item,
|
|
|
- ptItem
|
|
|
|
|
|
|
+ ptItem,
|
|
|
|
|
+ product
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
Vue.prototype.$service = modules;
|
|
Vue.prototype.$service = modules;
|