13693261870
2 天以前 9b5661ebf15f5536748849493cb8b65a6c3644dd
se-ui/src/views/login.vue
@@ -47,7 +47,7 @@
</template>
<script>
import { getCodeImg } from "@/api/login";
// import { getCodeImg } from "@/api/login";
import Cookies from "js-cookie";
import { encrypt, decrypt } from '@/utils/jsencrypt'
@@ -57,8 +57,8 @@
    return {
      codeUrl: "",
      loginForm: {
        username: "admin",
        password: "admin123",
        username: "",
        password: "",
        rememberMe: false,
        code: "",
        uuid: ""
@@ -93,7 +93,7 @@
    this.getCookie();
  },
  methods: {
    // getCode() {
    getCode() {
    //   getCodeImg().then(res => {
    //     this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled;
    //     if (this.captchaEnabled) {
@@ -101,7 +101,7 @@
    //       this.loginForm.uuid = res.uuid;
    //     }
    //   });
    // },
    },
    getCookie() {
      const username = Cookies.get("username");
      const password = Cookies.get("password");