|
@@ -30,6 +30,8 @@ export struct XWebview {
|
|
onBackPress(): boolean | void {
|
|
onBackPress(): boolean | void {
|
|
if (this.controller.accessBackward()) {
|
|
if (this.controller.accessBackward()) {
|
|
this.controller.backward()
|
|
this.controller.backward()
|
|
|
|
+ } else {
|
|
|
|
+ ToolsHelper.doubleAndExit()
|
|
}
|
|
}
|
|
return true
|
|
return true
|
|
}
|
|
}
|