yangfeng
2024-03-25 a70881cad8fe749f41b06f221d10bb7491259256
src/views/other/login/index.vue
@@ -154,16 +154,14 @@
            captcha: this.formLogin.code,
            captchaId: this.captchaId
          }).then((res) => {
            console.log(res, "dddd")
            if (res.code == 200) {
              console.log(res, "8888")
              this.$message.success("登录成功")
              localStorage.setItem("token", res.data.token)
              localStorage.setItem("username", res.data.user.username)
              localStorage.setItem("uuid", res.data.user.id)
              setTimeout(() => {
                this.$router.push({ path: "/orderManageModule/orderManage" })
              }, 2000)
              }, 1000)
            } else {
              this.$message.warning(res.msg)
              if (res.msg == "验证码错误") {