From 637d5c4289f3ff0dae19fd1abc1150e1ebf9ddcd Mon Sep 17 00:00:00 2001 From: m0_75226990 Date: Wed, 11 Sep 2024 19:40:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=83=A8=E5=88=86=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E4=BE=8B=E5=85=BC=E5=AE=B9=E5=AE=89=E5=8D=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/basicTest.uvue | 4 ++-- uni_modules/uts-tests/utssdk/index.uts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/index/basicTest.uvue b/pages/index/basicTest.uvue index 1dfd9ad..168b58c 100644 --- a/pages/index/basicTest.uvue +++ b/pages/index/basicTest.uvue @@ -61,9 +61,9 @@ export default { }, // #endif // #ifdef APP - jest_testCallbackKeepAlive() { + jest_testCallbackKeepAlive(): boolean { - let ret = true + let ret: boolean = true let count = 0; onTest1((res) => { diff --git a/uni_modules/uts-tests/utssdk/index.uts b/uni_modules/uts-tests/utssdk/index.uts index 5d8a902..cfe8611 100644 --- a/uni_modules/uts-tests/utssdk/index.uts +++ b/uni_modules/uts-tests/utssdk/index.uts @@ -103,7 +103,7 @@ export function testKeepAliveOption(option: TestKeepAliveOption) { export class TestKeepAliveClass { constructor() { - + super() } onTest(callback: TestKeepAliveCallback) { callback("1") -- GitLab