做了两个组件

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

@@ -142,6 +142,8 @@ export default {
}
this.$store.dispatch("Login", this.loginForm).then(() => {
this.$store.dispatch('category/getCategoryList');
this.$store.dispatch('category/getProductMap');
this.$store.dispatch('category/getRawMaterialMap');
this.$router.push({ path: this.redirect || "/" }).catch(()=>{});
}).catch(() => {
this.loading = false;