区分扫码枪和手动录入

This commit is contained in:
砂糖
2025-07-24 10:08:09 +08:00
parent b73c4223c7
commit 1cd943473f
5 changed files with 126 additions and 90 deletions

View File

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