| | |
| | | loading: false,
|
| | | username: '',
|
| | | password: '',
|
| | | companyId: 8,
|
| | | // 验证码
|
| | | captcha: {
|
| | | loading: false,
|
| | |
| | | username: this.username.trim(),
|
| | | password: this.password,
|
| | | code: this.captcha.value.trim(),
|
| | | companyId: this.companyId,
|
| | | uuid: this.captcha.uuid
|
| | | })
|
| | | .then(() => {
|
| | | window.location.href = process.env.VUE_APP_CONTEXT_PATH
|
| | | // console.log(process.env.VUE_APP_CONTEXT_PATH);
|
| | | // b7121c39-e109-472f-bb89-722b91289437
|
| | | // window.location.href = process.env.VUE_APP_CONTEXT_PATH
|
| | | window.location.reload()
|
| | | })
|
| | | .catch(e => {
|
| | | this.refreshCaptcha()
|