parent
77931f6d8a
commit
10baf69f73
|
|
@ -4,7 +4,7 @@
|
|||
<selectionStates>
|
||||
<SelectionState runConfigName="app">
|
||||
<option name="selectionMode" value="DROPDOWN" />
|
||||
<DropdownSelection timestamp="2026-03-12T08:19:46.116780300Z">
|
||||
<DropdownSelection timestamp="2026-03-12T09:56:24.310095400Z">
|
||||
<Target type="DEFAULT_BOOT">
|
||||
<handle>
|
||||
<DeviceId pluginId="PhysicalDevice" identifier="serial=Y5DELZR46DZTCI9D" />
|
||||
|
|
|
|||
|
|
@ -129,8 +129,8 @@ class MainActivity : ComponentActivity(), LoadingCallback {
|
|||
when (event) {
|
||||
// 软件更新提示
|
||||
is GlobalEvent.ShowAppUpdateNotify -> {
|
||||
val loginInfo = PreferenceUtil.getLoginInfos()
|
||||
if(loginInfo?.isNotEmpty() == true){
|
||||
val userConfigEntity = PreferenceUtil.getUserConfig()
|
||||
if(userConfigEntity != null){
|
||||
showUpdateDialog = true
|
||||
}
|
||||
}
|
||||
|
|
@ -287,7 +287,7 @@ class MainActivity : ComponentActivity(), LoadingCallback {
|
|||
}
|
||||
|
||||
if(showSplash){
|
||||
val token = PreferenceUtil.getAccessToken()
|
||||
//val token = PreferenceUtil.getAccessToken()
|
||||
// 未登录,显示登录页
|
||||
//if (token.isNullOrEmpty() && loginViewModel.userConfigResult.value == null) {
|
||||
if(isLogout){// 退出登录后,显示登录页
|
||||
|
|
|
|||
Loading…
Reference in New Issue