|
|
|
@ -71,7 +71,7 @@ export default function LoginForm({ className }: { className?: string }) {
|
|
|
|
|
// 登录
|
|
|
|
|
const handleLogin = async () => {
|
|
|
|
|
setBtnLoading(true);
|
|
|
|
|
const uuid = localStorage.getItem('deviceId') || '';
|
|
|
|
|
const uuid = localStorage.getItem('deviceId') || 'error';
|
|
|
|
|
const result = await SmsLogin({ phone, authCode: authCode, deviceId: uuid });
|
|
|
|
|
if (result.code === 200) {
|
|
|
|
|
setShowLogin(false);
|
|
|
|
|