This commit is contained in:
oneao committed 2025-11-06 17:32:51 +08:00
1 parent 6849579652
commit d60be4a75b
24 files changed
+463 -179

No files matched your search

@@ -36,17 +36,20 @@ export default function AuthLogin() {
setForm(prev => ({ ...prev, [field]: value }))
}
const defaultLogin = () => {
alovaInstance.Post('/auth/login/default', {
alovaInstance.Post('/auth/test', {
title: 'foo',
body: 'bar',
userId: 1,
}).then((res) => {
console.log(res)
})
.then((res) => {
console.log('成功返回:', res)
})
.catch((err) => {
console.log('请求失败或未授权:', err)
})
}
return (
<View className="flex flex-col items-center px-6 h-full">
<Image
source={require('@/static/images/logo.png')}