提交 52018e5d 编写于 作者: 杜庆泉's avatar 杜庆泉

native-page 消除编译器警告

上级 d7e2b8c1
......@@ -15,13 +15,10 @@ export class CustomAccessibilityService extends AccessibilityService {
override onAccessibilityEvent(event:AccessibilityEvent ):void {
if(event == null){
return ;
}
console.log("packagename",event!.getPackageName())
if("io.dcloud.uniappx" == event!.getPackageName()){
console.log("packagename",event.getPackageName())
if("io.dcloud.uniappx" == event.getPackageName()){
console.log("辅助服务消息:uniappx 基座打开")
}else if("io.dcloud.HBuilder" == event!.getPackageName()){
}else if("io.dcloud.HBuilder" == event.getPackageName()){
console.log("辅助服务消息:HBuilder 基座被打开")
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册