111
jhzh
2025-02-11 9f96348fb4f2d0442303aafefb5e9ca39ea85663
src/page/login/login.vue
@@ -10,7 +10,6 @@
          <el-input
            :placeholder="$t('hj9')"
            :size="medium"
            maxlength="11"
            v-model="userName"
            clearable
          >
@@ -62,7 +61,7 @@
import headers from "./components/header.vue";
import * as api from "@/axios/api";
import { Notify } from "vant";
import { mapMutations } from "vuex";
import { mapActions, mapMutations } from "vuex";
export default {
  name: "newLogin",
@@ -92,6 +91,7 @@
  },
  methods: {
    ...mapActions(["setUseInfo"]),
    ...mapMutations(["undataToken"]),
    checkboxChange(e) {
      window.localStorage.setItem("login_checked", e);
@@ -116,6 +116,7 @@
      let data = await api.login(opts);
      if (data.status === 0) {
        this.setUseInfo();
        if (this.checked) {
          window.localStorage.setItem(
            "login_admin",
@@ -169,8 +170,11 @@
  font-weight: 400;
  font-size: 0.37333rem;
  color: #8c9fad;
  margin: 0 auto;
  margin: 0.4rem auto;
  padding: 0.34667rem 0.4rem;
  width: 100%;
  height: 6rem;
  text-align: center;
  span {
    color: rgb(5, 106, 239);
  }