Commit 99e30d3a by maxiaohan

登录 + 查重 调整

parent b1c1a97a
......@@ -12,8 +12,8 @@
"browserslist": "^4.16.8",
"caniuse-lite": "^1.0.30001251",
"core-js": "^3.6.5",
"crypto-js": "^4.1.1",
"driver.js": "^0.9.8",
"echarts": "^4.9.0",
"element-ui": "^2.4.5",
"html2canvas": "^1.3.2",
"js-cookie": "^2.2.1",
......@@ -24,6 +24,7 @@
"serve": "^12.0.0",
"tui-image-editor": "^3.15.0",
"vue": "^2.6.11",
"vue-awesome-swiper": "^3.1.3",
"vue-bus": "^1.2.1",
"vue-clipboard2": "^0.3.1",
"vue-router": "^3.2.0",
......
......@@ -62,7 +62,6 @@
<script>
import accountsLogin from "./modules/AccountsLogin.vue";
import keyLogin from "./modules/KeyLogin.vue";
import { Encrypt } from "../../utils/AESUtils";
export default {
name: "Login1",
......
......@@ -17,6 +17,7 @@
</el-input>
<el-input
class=" width100 margin_top25_bottom10"
type="password"
placeholder="请输入密码"
v-model="userInfo.passWord"
>
......@@ -91,7 +92,7 @@ export default {
let token = res.data.token;
// token 存入sotre
me.$store.commit("user/SET_TOKEN", token);
localStorage.setItem("token", token);
localStorage.setItem("token-----", token);
// this.$store.dispatch("login", {});
this.$message.success(userinfo.userName + "登录成功!");
if (this.$store.state.user.token) {
......
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-10-21 21:43:45
* @LastEditTime: 2021-10-20 17:36:50
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
......@@ -83,13 +83,13 @@ module.exports = {
"/api": {
// target: "http://192.168.0.137:8080/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/
// target: "http://172.18.108.2:8099/", // 张 认定
// target: "http://192.168.128.103:8099", // 湖南-张
target: "http://192.168.128.116:8099", // 湖南-张
// target: "http://192.168.128.104:8099", // 湖南-马
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://127.0.0.1:8099",
target: "http://47.92.225.109:5602",
// target: "http://47.92.225.109:5602",
ws: true,
changeOrigin: true,
changeOrigin: true,
pathRewrite: {
"^/api": "/api"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment