做了两个组件

This commit is contained in:
砂糖
2025-07-28 18:25:02 +08:00
parent 8397300197
commit 8eee5448fa
7 changed files with 166 additions and 3 deletions

View File

@@ -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)
},