feat: ts严格类型

This commit is contained in:
jinyaqiu 2025-09-01 13:01:52 +08:00
parent 2caf82318a
commit c069f0f205
2 changed files with 2 additions and 6 deletions

View File

@ -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<String, NetworkError>) in
switch result {
case .success(let data):
print("删除账号成功: \(data)")

View File

@ -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
}