mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-04-05 06:36:22 +08:00
13 lines
231 B
TypeScript
13 lines
231 B
TypeScript
import useAxiosApi from '@/utils/useAxiosApi';
|
|
|
|
/**
|
|
* 账号密码登录
|
|
* @returns UseAxiosReturn
|
|
*/
|
|
export function loginPassword() {
|
|
return useAxiosApi(`/api/login`, {
|
|
method: 'POST',
|
|
data: { name: '123' },
|
|
});
|
|
}
|