提交 637d5c42 编写于 作者: lizhongyi_'s avatar lizhongyi_

调整部分测试例兼容安卓

上级 d092dade
...@@ -61,9 +61,9 @@ export default { ...@@ -61,9 +61,9 @@ export default {
}, },
// #endif // #endif
// #ifdef APP // #ifdef APP
jest_testCallbackKeepAlive() { jest_testCallbackKeepAlive(): boolean {
let ret = true let ret: boolean = true
let count = 0; let count = 0;
onTest1((res) => { onTest1((res) => {
......
...@@ -103,7 +103,7 @@ export function testKeepAliveOption(option: TestKeepAliveOption) { ...@@ -103,7 +103,7 @@ export function testKeepAliveOption(option: TestKeepAliveOption) {
export class TestKeepAliveClass { export class TestKeepAliveClass {
constructor() { constructor() {
super()
} }
onTest(callback: TestKeepAliveCallback) { onTest(callback: TestKeepAliveCallback) {
callback("1") callback("1")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册