From c56a766030d7549137c448d9556c31e3f52ec633 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Thu, 10 Nov 2022 19:47:38 +0800 Subject: [PATCH] bug fix --- uni_modules/uts-nativepage/utssdk/app-android/index.uts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uni_modules/uts-nativepage/utssdk/app-android/index.uts b/uni_modules/uts-nativepage/utssdk/app-android/index.uts index e4ce361..44b6de7 100644 --- a/uni_modules/uts-nativepage/utssdk/app-android/index.uts +++ b/uni_modules/uts-nativepage/utssdk/app-android/index.uts @@ -167,7 +167,7 @@ class DemoActivity extends Activity{ export default function gotoDemoActivity() { // 跳转到一个新的界面 - let intent = new Intent(getUniActivity(),DemoActivity::class.java); + let intent = new Intent(getUniActivity(),DemoActivity().javaclass); getUniActivity()!.startActivity(intent); // var a = new DemoActivity(); -- GitLab