diff --git a/docs/plugin/uts-for-android.md b/docs/plugin/uts-for-android.md index ca5968c32f4690f83baa84fd98b7810295774819..17a38a9449e263cc17c86dc45406dca5d0b1ba3e 100644 --- a/docs/plugin/uts-for-android.md +++ b/docs/plugin/uts-for-android.md @@ -443,6 +443,15 @@ options.success?.(res) +#### 4.1.10 界面跳转写法 + +android开发中场景的 intent跳转需要传入 目标界面的class对象,目前UTS中仅支持一种写法 + +```uts +let intent = new Intent(getUniActivity(),DemoActivity().javaClass); +getUniActivity()!.startActivity(intent); +``` + ---------------------------------