LifecycleObserver

@Composable
fun LifecycleObserver(key: String = "lifecycle", body: (LifecycleOwner, Lifecycle.Event) -> Unit)

添加生命周期事件监听