修复编译问题 & 将人机验证组件动态化

This commit is contained in:
2025-12-20 18:05:46 +08:00
parent c979765a77
commit adc8195d53
8 changed files with 13 additions and 73 deletions

View File

@@ -11,7 +11,7 @@ import actionBill from '../_assets/action-bill.webp'
import actionBuy from '../_assets/action-buy.webp'
import actionLogout from '../_assets/action-logout.webp'
async function UserCenter() {
export default async function UserCenter() {
const resp = await getProfile()
if (!resp.success) {
return (
@@ -90,4 +90,3 @@ async function UserCenter() {
</Card>
)
}
export default UserCenter