提交入库参数、采集数据优化

This commit is contained in:
2026-01-30 15:07:56 +08:00
parent a7bac4321e
commit efcf3d436b
9 changed files with 80 additions and 65 deletions
@@ -21,18 +21,18 @@ class UserViewModel @Inject constructor(
private val repo: RemoteRepository
) : BaseViewModel(repo) {
private var isFirstLaunch by mutableStateOf(true)
// private var isFirstLaunch by mutableStateOf(true)
private val _user = MutableStateFlow<User?>(null)
val user = _user.asStateFlow()
fun getInitInfo() {
Timber.d("getInitInfo isFirstLaunch = $isFirstLaunch")
// Timber.d("getInitInfo isFirstLaunch = $isFirstLaunch")
//if (isFirstLaunch) {
getUserInfo()
// getUserInfo()
getDictType()
isFirstLaunch = false
// isFirstLaunch = false
//}
}