chenrui  3 years ago
parent
commit
930345cd9f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/App.vue

+ 2 - 0
src/App.vue

@@ -72,6 +72,7 @@ import Identify from "./views/login/identify.vue";
 import { mapGetters } from "vuex";
 import { SsoLogin } from "@/api/apiHome";
 import { GetSSOCheckCode } from "@/api/login";
+import { getCodeToken } from "@/utils/auth";
 export default {
   name: "App",
   components: {
@@ -262,6 +263,7 @@ export default {
         const obj = {
           LoginName: this.name,
           LoginPwd: this.form.pwd,
+          token: getCodeToken(),
         };
         if (Number(this.errorNum) >= 2) {
           obj.CheckCode = this.form.identify;