odc.xiaohui
2023-05-22 1cc4da26c0dfb93bb3b9800f2c82988cfc4af3d6
src/views/Login.vue
@@ -78,7 +78,8 @@
          method: 'POST',
          params: this.loginForm
        })
        if (res.code === 200) {
        console.log(res)
        if (res.code == 200) {
          this.$message.success('登录成功')
          window.sessionStorage.setItem('token', res.data)
          await this.$router.push('/home')