auth to server-V16
This commit is contained in:
parent
ee07122628
commit
f57c7f82fd
1 changed files with 9 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ import androidx.compose.material3.Text
|
|||
import androidx.compose.material3.TextField
|
||||
import androidx.compose.material3.TextFieldDefaults
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.LaunchedEffect
|
||||
import androidx.compose.runtime.collectAsState
|
||||
import androidx.compose.runtime.getValue
|
||||
import androidx.compose.runtime.mutableStateOf
|
||||
|
|
@ -295,6 +296,14 @@ fun Register_Screen(
|
|||
}
|
||||
|
||||
|
||||
LaunchedEffect(uiState.isSuccess) {
|
||||
if (uiState.isSuccess) {
|
||||
// 這裡執行導向登入頁面或是主頁面的動作
|
||||
println("導航至登入頁面")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//input_block_end
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue