chenhaozhe
2026-01-28 358377336e3e64e088d05bf67bd952bf4f25f419
src/views/login.vue
@@ -203,7 +203,10 @@
            Cookies.remove("password")
            Cookies.remove('rememberMe')
          }
          this.$store.dispatch("Login", this.loginForm).then(res => {
          this.$store.dispatch("Login", {
            ...this.loginForm,
            loginPage: 'login'  // 添加登录页面来源标记
          }).then(res => {
            this.$router.push({ path: this.redirect || "/" }).catch(() => { })
          }).catch(() => {
            this.loading = false