From c069f0f2055f3c45cb2fe28dade895701f870af8 Mon Sep 17 00:00:00 2001 From: jinyaqiu Date: Mon, 1 Sep 2025 13:01:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20ts=E4=B8=A5=E6=A0=BC=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wake/View/Owner/AccountView.swift | 2 +- wake/WakeApp.swift | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/wake/View/Owner/AccountView.swift b/wake/View/Owner/AccountView.swift index 6447451..466945b 100644 --- a/wake/View/Owner/AccountView.swift +++ b/wake/View/Owner/AccountView.swift @@ -106,7 +106,7 @@ struct AccountView: View { Button(action: { // 处理删除账号逻辑 - NetworkService.shared.delete(path: "/iam/delete-user", parameters: nil) { result in + NetworkService.shared.delete(path: "/iam/delete-user", parameters: nil) { (result: Result) in switch result { case .success(let data): print("删除账号成功: \(data)") diff --git a/wake/WakeApp.swift b/wake/WakeApp.swift index 5bb8fba..e66f67b 100644 --- a/wake/WakeApp.swift +++ b/wake/WakeApp.swift @@ -46,11 +46,7 @@ struct WakeApp: App { if authState.isAuthenticated { // 已登录:显示主页面 NavigationStack(path: $router.path) { - // BlindBoxView(mediaType: .all) - // .navigationDestination(for: AppRoute.self) { route in - // route.view - // } - LoginView() + BlindBoxView(mediaType: .all) .navigationDestination(for: AppRoute.self) { route in route.view }