|
|
|
@ -98,7 +98,7 @@
|
|
|
|
|
import { getCodeImg } from "@/api/login";
|
|
|
|
|
import Cookies from "js-cookie";
|
|
|
|
|
import { encrypt, decrypt } from "@/utils/jsencrypt";
|
|
|
|
|
|
|
|
|
|
// import { xzTree } from "@/api/yingji/keyEnterprise.js";
|
|
|
|
|
export default {
|
|
|
|
|
name: "Login",
|
|
|
|
|
computed: {
|
|
|
|
@ -194,6 +194,10 @@ export default {
|
|
|
|
|
.dispatch("Login", this.loginForm)
|
|
|
|
|
.then(() => {
|
|
|
|
|
this.$router.push({ path: "/" });
|
|
|
|
|
// 行政区域树状
|
|
|
|
|
// xzTree().then((res) => {
|
|
|
|
|
// localStorage.setItem("TREE_DATA", JSON.stringify(res.data));
|
|
|
|
|
// });
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|