diff --git a/README.md b/README.md index a6c2db94..8cab6131 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ > 你大概率会遇到浏览器缓存造成文档不是最新版本的问题,若已经查看过一次文档,请手动在每个页面上刷新一次以同步最新版本,或清除浏览器缓存。 -The latest version update time/最新版本更新时间:2022-05-27 03:12 +The latest version update time/最新版本更新时间:2022-05-27 03:57 ## Contacts diff --git a/docs/_coverpage.md b/docs/_coverpage.md index b86383f3..35a848ac 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -12,7 +12,7 @@ - 方便移植 快速上手 -`更新时间 2022-05-27 03:12` +`更新时间 2022-05-27 03:57` [GitHub](https://github.com/fankes/YukiHookAPI) [Get Started](#介绍) diff --git a/docs/config/api-exception.md b/docs/config/api-exception.md index 066271ae..9fa07c75 100644 --- a/docs/config/api-exception.md +++ b/docs/config/api-exception.md @@ -532,8 +532,10 @@ class MyApplication : Application() { override fun attachBaseContext(base: Context?) { YukiHookAPI.encase(base) { - // ❗不能在这种情况下使用 channel - channel.get("test_data", "default_data") + // ❗不能在这种情况下使用 dataChannel + dataChannel.wait(key = "test_data") { + // ... + } } super.attachBaseContext(base) }