Browse Source

账号密码错误提示

master
xingyongchun 2 years ago
parent
commit
98f153ce16
  1. 2
      web/client/src/sections/auth/actions/auth.js

2
web/client/src/sections/auth/actions/auth.js

@ -2,7 +2,7 @@
import { ApiTable } from "$utils"; import { ApiTable } from "$utils";
import { Request } from "@peace/utils"; import { Request } from "@peace/utils";
import { message, } from 'antd';
export const INIT_AUTH = "INIT_AUTH"; export const INIT_AUTH = "INIT_AUTH";
export function initAuth() { export function initAuth() {
const user = JSON.parse(sessionStorage.getItem("user")) || {}; const user = JSON.parse(sessionStorage.getItem("user")) || {};

Loading…
Cancel
Save