修改登录注册

This commit is contained in:
熊丽君
2021-08-10 08:39:03 +08:00
parent c2939eeb11
commit 7a48bed10c
3 changed files with 33 additions and 18 deletions

View File

@ -1,4 +1,4 @@
import { login, logout, getInfo } from '@/api/login';
import { login, register, logout, getInfo } from '@/api/login';
import { getToken, setToken, removeToken } from '@/utils/auth';
const user = {