Commit c491c976 by 前端

登录页面增加uuid唯一标识

1 parent 142f5b20
...@@ -177,9 +177,10 @@ export default { ...@@ -177,9 +177,10 @@ export default {
let uuid = localStorage.getItem("uuid"); let uuid = localStorage.getItem("uuid");
if (!uuid) { if (!uuid) {
uuid = createUuid(); uuid = createUuid();
localStorage.setItem("uuid", uuid);
} }
params.specialMark = uuid; params.specialMark = uuid;
console.log(params) console.log(params);
await loginService.loginAction(params).then( await loginService.loginAction(params).then(
(res) => { (res) => {
store.dispatch("app/showLoading", false); store.dispatch("app/showLoading", false);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!