| | |
| | | props: [], |
| | | methods: { |
| | | ChandleLogin() { |
| | | this.$store.dispatch("LoginBySso").then((res) => { |
| | | console.log('res', res) |
| | | this.$router.push({path: this.tagWel.value}); |
| | | }) |
| | | // this.$store.dispatch("LoginBySso").then((res) => { |
| | | // console.log('res', res) |
| | | // this.$router.push({path: this.tagWel.value}); |
| | | // }) |
| | | this.$router.push({path:'/sso'}); |
| | | }, |
| | | closehandle() { |
| | | removeToken() |
| | |
| | | |
| | | }, |
| | | handleLogin: function () { |
| | | debugger |
| | | this.userInfo = this.$store.state.upadatastatus |
| | | localStorage.setItem('username', this.loginForm.username) |
| | | this.$refs.loginForm.validate(valid => { |