xugenyuan

fix |> 电子报支持系统侧滑返回http://192.168.1.3:8080/zentao/bug-view-20008.html

Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
@@ -3,6 +3,7 @@ import { DateTimeUtils, Logger } from 'wdKit'; @@ -3,6 +3,7 @@ import { DateTimeUtils, Logger } from 'wdKit';
3 import common from '@ohos.app.ability.common'; 3 import common from '@ohos.app.ability.common';
4 import window from '@ohos.window'; 4 import window from '@ohos.window';
5 import { TrackingPageBrowse, TrackConstants } from 'wdTracking/Index'; 5 import { TrackingPageBrowse, TrackConstants } from 'wdTracking/Index';
  6 +import { router } from '@kit.ArkUI';
6 7
7 const TAG = 'ENewspaper'; 8 const TAG = 'ENewspaper';
8 9
@@ -64,6 +65,7 @@ struct ENewspaper { @@ -64,6 +65,7 @@ struct ENewspaper {
64 65
65 onBackPress() { 66 onBackPress() {
66 Logger.info(TAG, 'onBackPress'); 67 Logger.info(TAG, 'onBackPress');
  68 + router.back()
67 return true 69 return true
68 } 70 }
69 } 71 }