feat: 增加门店身份注销流程
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
import UIKit
|
||||
|
||||
/// 应用根页面路由。
|
||||
@MainActor
|
||||
enum AppRouter {
|
||||
|
||||
enum Root {
|
||||
@@ -37,7 +38,8 @@ enum AppRouter {
|
||||
}
|
||||
}
|
||||
|
||||
private static func setRoot(_ viewController: UIViewController, on window: UIWindow?, animated: Bool) {
|
||||
/// 切换到显式构造的根页面,用于业务进入前的注销状态核验。
|
||||
static func setRoot(_ viewController: UIViewController, on window: UIWindow?, animated: Bool = true) {
|
||||
guard let window else { return }
|
||||
|
||||
guard animated, let snapshot = window.snapshotView(afterScreenUpdates: true) else {
|
||||
|
||||
Reference in New Issue
Block a user