From 05d1943d768ad200388435dd8902793094801457 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Wed, 19 Jun 2024 17:04:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20UTS=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=86=85=E8=B0=83=E7=94=A8UTSAndroid=E7=9A=84=E7=94=A8?= =?UTF-8?q?=E6=B3=95=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uts-hello-component/utssdk/app-android/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uni_modules/uts-hello-component/utssdk/app-android/index.vue b/uni_modules/uts-hello-component/utssdk/app-android/index.vue index 2af7805..b90a1ce 100644 --- a/uni_modules/uts-hello-component/utssdk/app-android/index.vue +++ b/uni_modules/uts-hello-component/utssdk/app-android/index.vue @@ -125,7 +125,10 @@ * [可选实现] */ NVLoaded() { - + // 组件内可以调用 UTSAndroid 内置方法 + console.log("UTSAndroid.devicePX2px(1080) : ",UTSAndroid.devicePX2px(1080)) + console.log("UTSAndroid.rpx2px(1080) : ",UTSAndroid.rpx2px(1080)) + console.log("UTSAndroid.appJSBundleUrl() : ",UTSAndroid.appJSBundleUrl()) }, /** * 原生View布局完成 -- GitLab