feat: update wallet punch point and report success
This commit is contained in:
@ -8,6 +8,9 @@ import Foundation
|
||||
/// 首页 ViewModel,对齐 Android `HomeViewModel` 的权限、门店与位置逻辑。
|
||||
final class HomeViewModel {
|
||||
|
||||
/// 首页位置上报卡片固定提示文案。
|
||||
static let locationReportPromptText = "您已进入打卡范围"
|
||||
|
||||
private(set) var currentScenicName = ""
|
||||
private(set) var currentAppRole: AppRoleCode?
|
||||
private(set) var commonMenus: [HomeMenuItem] = []
|
||||
@ -18,7 +21,7 @@ final class HomeViewModel {
|
||||
private(set) var showOnlineStatusDialog = false
|
||||
private(set) var showLocationReportSuccessDialog = false
|
||||
private(set) var isMinimalTopRole = false
|
||||
private(set) var locationInfoText = "定位中..."
|
||||
private(set) var locationInfoText = HomeViewModel.locationReportPromptText
|
||||
private(set) var reportTimeText = ""
|
||||
private(set) var isLocationReporting = false
|
||||
private(set) var needsPermissionReload = false
|
||||
|
||||
Reference in New Issue
Block a user