mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-13 20:30:48 +08:00
添加退出登录功能
This commit is contained in:
@@ -11,7 +11,7 @@ const FormItem = Form.Item;
|
||||
const Login = () => {
|
||||
const handleOk = (values: any) => {
|
||||
request
|
||||
.post(`${config.apiPrefix}auth`, {
|
||||
.post(`${config.apiPrefix}login`, {
|
||||
data: {
|
||||
username: values.username,
|
||||
password: values.password,
|
||||
|
||||
Reference in New Issue
Block a user