龚焕茏
2024-06-13 b3ac9b93a74fa2ea71a8d4f17f1df70b5fed7a06
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({