jiangping
2023-10-16 d7fe8ae3888c8e2b1eea3c1e3769be0d42a21cc9
platform_web/src/views/login.vue
@@ -46,7 +46,6 @@
      loading: false,
      username: '',
      password: '',
      companyId: 8,
      // 验证码
      captcha: {
        loading: false,
@@ -78,11 +77,13 @@
        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()