做了两个组件
This commit is contained in:
@@ -15,6 +15,8 @@ export default {
|
||||
// 应用启动时全局初始化分类数据
|
||||
if (this.$store.getters.token) {
|
||||
this.$store.dispatch('category/getCategoryList');
|
||||
this.$store.dispatch('category/getProductMap');
|
||||
this.$store.dispatch('category/getRawMaterialMap');
|
||||
}
|
||||
console.log(this.$store)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user