xiangpei
2024-06-12 1aa0483fabd258d1c1b1f9b21cc585ce75ddf5b9
src/views/login/index.vue
@@ -139,7 +139,7 @@
          loginApi.login(this.loginForm).then(function (result) {
            if (result && result.code === 1) {
              _this.setUserName(_this.loginForm.userName)
              _this.$router.push({ path: '/' })
              _this.$router.push({ path: '/dashboard' })
            } else {
              _this.loading = false
              _this.$message({