MrShi
5 天以前 9eeb62c02a7b3c7b95c20678b6a9c74e7f12f943
admin/src/views/login.vue
@@ -73,12 +73,10 @@
        code: this.captcha.value.trim(),
        uuid: this.captcha.uuid
      })
        .then(() => {
          window.location.href = process.env.VUE_APP_CONTEXT_PATH
        })
        .catch(e => {
          this.refreshCaptcha()
          this.$tip.apiFailed(e)
        .then((res) => {
          if (res) {
            window.location.href = process.env.VUE_APP_CONTEXT_PATH
          }
        })
        .finally(() => {
          this.loading = false